:root {
  --bg: #0a0e17;
  --bg-2: #111827;
  --panel: rgba(17, 24, 39, 0.9);
  --panel-solid: #1f2937;
  --text: #f9fafb;
  --muted: #9ca3af;
  --primary: #2563eb;
  --primary-dark: #1d4ed8;
  --accent: #3b82f6;
  --purple: #8b5cf6;
  --purple-dark: #7c3aed;
  --success: #10b981;
  --line: rgba(255, 255, 255, 0.1);
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.3), 0 2px 4px -1px rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.4), 0 4px 6px -2px rgba(0, 0, 0, 0.2);
  --radius: 12px;
  --container: 1062px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Segoe UI", Inter, ui-sans-serif, system-ui, sans-serif;
  line-height: 1.6;
  background: var(--bg);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(37, 99, 235, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(37, 99, 235, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to bottom, black, transparent 80%);
  z-index: 0;
}

body::after {
  content: "";
  position: fixed;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.gradient-shape-1 {
  position: fixed;
  top: 10%;
  left: -5%;
  width: 400px;
  height: 400px;
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.2) 0%, rgba(37, 99, 235, 0.1) 50%, transparent 100%);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  pointer-events: none;
  z-index: 0;
  animation: float 8s ease-in-out infinite;
}

.gradient-shape-2 {
  position: fixed;
  bottom: 20%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: linear-gradient(45deg, rgba(139, 92, 246, 0.18) 0%, rgba(124, 58, 237, 0.12) 50%, transparent 100%);
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  pointer-events: none;
  z-index: 0;
  animation: float 12s ease-in-out infinite reverse;
}

.gradient-shape-3 {
  position: fixed;
  top: 50%;
  left: 50%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(124, 58, 237, 0.08) 50%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: pulse 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(30px, -30px) rotate(5deg);
  }
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
    transform: scale(1);
  }
  50% {
    opacity: 1;
    transform: scale(1.1);
  }
}

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

a {
  color: inherit;
}

a:focus-visible {
  outline: 3px solid var(--primary);
  outline-offset: 5px;
}

.skip-link {
  position: fixed;
  left: 1rem;
  top: 1rem;
  z-index: 20;
  transform: translateY(-150%);
  background: var(--primary);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-weight: 600;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header,
.section,
.ticker,
.page-hero,
.simple-footer {
  width: min(var(--container), calc(100vw - 2rem));
  margin-inline: auto;
}

.site-header {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}

.brand {
  text-decoration: none;
  font-size: clamp(1.25rem, 3vw, 2rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--text);
}

.brand strong {
  color: var(--primary);
}

.nav {
  display: flex;
  align-items: center;
  gap: clamp(0.6rem, 2.4vw, 1.5rem);
  color: var(--muted);
}

.nav a,
.discord-link {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-weight: 800;
}

.nav a[aria-current="page"] {
  color: var(--primary);
}

.discord-link,
.button.primary {
  color: white;
  background: var(--primary);
  border: 2px solid var(--primary);
  box-shadow: 0 4px 6px rgba(37, 99, 235, 0.3);
  transition: all 0.2s ease;
}

.discord-link:hover,
.button.primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-1px);
}

.discord-link {
  padding: 0 1rem;
  border-radius: 14px;
}

.hero-poster {
  width: min(1280px, 100vw);
  margin: 0 auto;
  padding: 1rem 1rem 0;
}

.hero-poster img {
  width: 100%;
  max-height: 76vh;
  object-fit: cover;
  border-radius: 0 0 24px 24px;
  box-shadow: var(--shadow);
}

.intro-panel {
  display: grid;
  grid-template-columns: 1fr 0.85fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  align-items: end;
  padding: clamp(3rem, 8vw, 6rem) 0 3rem;
}

.eyebrow,
.section-kicker {
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.section-kicker.cyan {
  color: var(--purple);
}

h1,
.page-hero h1,
.feature-strip h2,
.callout h2 {
  margin: 0;
  font-size: clamp(2.5rem, 6vw, 5.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  font-weight: 700;
}

.lead {
  margin: 0;
  max-width: 62ch;
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 1.6rem;
}

.button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  text-decoration: none;
  font-weight: 1000;
}

.button.secondary {
  border: 2px solid var(--primary);
  color: var(--text);
  background: transparent;
  transition: all 0.2s ease;
}

.button.secondary:hover {
  background: rgba(37, 99, 235, 0.1);
}

.ticker {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 4rem;
}

.ticker p,
.service-card,
.feature-strip,
.callout,
.project-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.ticker p {
  margin: 0;
  padding: 1.1rem;
  color: var(--muted);
}

.ticker strong {
  color: var(--primary);
}

.service-grid,
.project-grid,
.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding: 2rem 0 4rem;
}

.service-grid.wide {
  padding-top: 4rem;
}

.service-card {
  min-height: 270px;
  padding: clamp(1rem, 3vw, 1.5rem);
  position: relative;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -30px;
  top: -30px;
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  opacity: 0.15;
  transform: rotate(18deg);
}

.service-card span {
  color: var(--primary);
  font-weight: 700;
}

.service-card h2,
.project-card h2 {
  margin: 0.6rem 0;
  font-size: clamp(1.55rem, 3vw, 2.25rem);
  line-height: 1.05;
}

.service-card p,
.project-card p,
.steps p {
  color: var(--muted);
}

.feature-strip {
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: clamp(1.5rem, 5vw, 4rem);
  padding: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 4rem;
}

.feature-strip h2,
.callout h2 {
  font-size: clamp(2rem, 5vw, 4rem);
}

.steps {
  display: grid;
  gap: 0.8rem;
}

.steps p {
  margin: 0;
  padding: 1rem;
  border-radius: 14px;
  background: rgba(37, 99, 235, 0.08);
}

.steps strong {
  color: var(--primary);
}

.callout {
  margin-bottom: 4rem;
  padding: clamp(1.4rem, 4vw, 2rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.page {
  padding-bottom: 4rem;
}

.page-hero {
  padding: clamp(4rem, 9vw, 7rem) 0 2rem;
}

.page-hero.compact h1 {
  max-width: 980px;
}

.project-card {
  grid-column: span 2;
  overflow: hidden;
}

.project-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.project-card div {
  padding: 1.2rem;
}

.contact-grid a {
  overflow-wrap: anywhere;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.order-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 1rem;
  padding: 2rem 0 4rem;
}

.auth-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: 2rem 0 4rem;
}

.order-form,
.payment-card,
.admin-login,
.admin-panel,
.order-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.order-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  padding: clamp(1rem, 3vw, 1.5rem);
}

.order-form h2 {
  grid-column: 1 / -1;
  margin: 0;
  font-size: clamp(1.7rem, 3vw, 2.5rem);
}

.compact-form {
  max-width: 560px;
}

.order-form label {
  display: grid;
  gap: 0.45rem;
  color: var(--muted);
  font-weight: 900;
}

.order-form .full,
.order-form button,
.form-message {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 14px;
  background: rgba(8, 11, 32, 0.72);
  color: var(--text);
  font: inherit;
  padding: 0.9rem 1rem;
}

input:focus,
textarea:focus,
select:focus {
  outline: 3px solid var(--primary);
  outline-offset: 2px;
}

input[readonly] {
  color: var(--primary);
}

input:disabled,
textarea:disabled,
button:disabled {
  cursor: not-allowed;
  opacity: 0.58;
}

textarea {
  resize: vertical;
}

.form-message {
  min-height: 1.5rem;
  margin: 0;
  color: var(--primary);
  font-weight: 600;
}

.form-message a {
  color: var(--primary);
}

.payment-card {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.payment-card span {
  color: var(--primary);
  font-weight: 700;
}

.payment-card h2 {
  margin: 0.5rem 0;
  color: var(--primary);
  font-size: clamp(2rem, 5vw, 3rem);
}

.admin-login,
.admin-panel {
  padding: clamp(1rem, 3vw, 1.5rem);
}

.admin-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.admin-toolbar h2 {
  margin: 0;
  font-size: clamp(1.8rem, 4vw, 3rem);
}

.orders-list {
  display: grid;
  gap: 1rem;
}

.order-item {
  padding: 1rem;
}

.order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.order-head h3 {
  margin: 0;
  font-size: 1.6rem;
}

.order-head span {
  color: var(--primary);
  font-weight: 700;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0.35rem 0.75rem;
  border: 1px solid rgba(37, 99, 235, 0.3);
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.1);
}

.status-control {
  display: grid;
  gap: 0.45rem;
  margin-top: 1rem;
  color: var(--muted);
  font-weight: 900;
}

.toolbar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.hidden {
  display: none;
}

.simple-footer {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--line);
}

.simple-footer p {
  margin: 0;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
}

.simple-footer a {
  font-weight: 600;
}

.about-section {
  text-align: center;
  padding: 4rem 0;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.about-item {
  text-align: center;
}

.about-item span {
  display: block;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.about-item p {
  margin: 0;
  color: var(--muted);
  font-weight: 600;
}

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

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.value-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.value-card h3 {
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: 1.5rem;
}

.value-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.testimonial-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.testimonial-card p {
  margin: 0 0 1.5rem;
  color: var(--text);
  line-height: 1.6;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.testimonial-author strong {
  color: var(--primary);
  font-weight: 700;
}

.testimonial-author span {
  color: var(--muted);
  font-size: 0.9rem;
}

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

.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.faq-item {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 2rem;
  box-shadow: var(--shadow);
}

.faq-item h3 {
  margin: 0 0 1rem;
  color: var(--primary);
  font-size: 1.25rem;
}

.faq-item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

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

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}

.pricing-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.pricing-card.featured {
  border-color: var(--primary);
  background: linear-gradient(145deg, rgba(37, 99, 235, 0.1), var(--panel));
}

.pricing-card span {
  color: var(--primary);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
}

.pricing-card h3 {
  margin: 0;
  color: var(--text);
  font-size: 2.5rem;
  font-weight: 700;
}

.pricing-card p {
  margin: 0;
  color: var(--muted);
}

.pricing-card ul {
  margin: 0;
  padding-left: 1.5rem;
  list-style: none;
}

.pricing-card ul li {
  margin-bottom: 0.5rem;
  color: var(--text);
  position: relative;
}

.pricing-card ul li::before {
  content: "✓";
  position: absolute;
  left: -1.5rem;
  color: var(--success);
  font-weight: 700;
}

.pricing-card .button {
  margin-top: auto;
}

.business-footer {
  border-top: 1px solid var(--line);
  padding: 4rem 0 2rem;
  background: var(--bg-2);
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  margin-bottom: 3rem;
}

.footer-section h3 {
  margin: 0 0 1rem;
  color: var(--text);
  font-size: 1.25rem;
  font-weight: 700;
}

.brand-footer {
  color: var(--primary);
  font-size: 1.5rem;
}

.footer-section p {
  margin: 0 0 0.5rem;
  color: var(--muted);
  line-height: 1.6;
}

.footer-section nav {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-section nav a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-section nav a:hover {
  color: var(--primary);
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.social-links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: var(--primary);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid var(--line);
  text-align: center;
}

.footer-bottom p {
  margin: 0;
  color: var(--muted);
  font-size: 0.875rem;
}

@media (max-width: 900px) {
  .site-header {
    position: static;
    min-height: auto;
    align-items: flex-start;
    flex-direction: column;
    padding: 1rem 0;
  }

  .nav {
    flex-wrap: wrap;
  }

  .intro-panel,
  .feature-strip,
  .service-grid,
  .project-grid,
  .contact-grid,
  .auth-grid,
  .order-layout,
  .about-grid,
  .values-grid,
  .testimonials-grid,
  .faq-grid,
  .pricing-grid,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .project-card {
    grid-column: span 1;
  }

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

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

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

  .admin-toolbar,
  .order-head {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 560px) {
  .site-header,
  .section,
  .ticker,
  .page-hero,
  .simple-footer {
    width: min(100% - 1rem, var(--container));
  }

  .hero-poster {
    padding-inline: 0.5rem;
  }

  h1,
  .page-hero h1 {
    font-size: 2.55rem;
  }

  .discord-link,
  .button {
    width: 100%;
  }

  .hero-actions,
  .simple-footer {
    flex-direction: column;
    align-items: stretch;
  }
}
