:root {
  color-scheme: dark;
  --bg: #0a0b0f;
  --panel: #111318;
  --card: #1a1c24;
  --text: #e8eaf0;
  --muted: #8b92a8;
  --accent: #00ff88;
  --accent-2: #00d4ff;
  --border: #252833;
  --pill: #1e2129;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

html {
  scroll-behavior: auto;
  scroll-padding-top: 20px;
}

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

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

.max-width {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
  padding: 0 20px;
}

.top-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 20px 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  background: rgba(10, 11, 15, 0.8);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo-text {
  font-size: 20px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.02em;
  transition: color 0.2s;
}

.nav-logo-text:hover {
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--muted);
  transition: color 0.2s;
  position: relative;
}

.nav-link:hover {
  color: var(--text);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transition: transform 0.2s;
}

.nav-link:hover::after {
  transform: scaleX(1);
}

@media (max-width: 768px) {
  .nav-links {
    gap: 20px;
  }

  .nav-link {
    font-size: 13px;
  }

  .nav-logo-text {
    font-size: 18px;
  }
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: var(--bg);
  isolation: isolate;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.15;
  animation: float 20s ease-in-out infinite;
}

.hero::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -200px;
  right: -100px;
  animation-delay: -5s;
}

.hero::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
  bottom: -150px;
  left: -100px;
  animation-delay: -10s;
}

@keyframes float {
  0%, 100% {
    transform: translate(0, 0) scale(1);
  }
  25% {
    transform: translate(30px, -30px) scale(1.1);
  }
  50% {
    transform: translate(-20px, 20px) scale(0.9);
  }
  75% {
    transform: translate(20px, 30px) scale(1.05);
  }
}

.hero-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.2;
  pointer-events: none;
}

.hero-gradient-1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.3) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulse 15s ease-in-out infinite;
}

.hero-gradient-2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.25) 0%, transparent 70%);
  top: 20%;
  right: 10%;
  animation: pulse 20s ease-in-out infinite reverse;
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.15;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.25;
  }
}

.hero-logo-rotating {
  position: absolute;
  left: -30%;
  top: 50%;
  transform: translateY(-50%);
  width: 800px;
  height: 800px;
  opacity: 0.06;
  pointer-events: none;
  z-index: -1;
  filter: blur(1px);
  animation: rotate 60s linear infinite;
}

@media (max-width: 1024px) {
  .hero-logo-rotating {
    width: 600px;
    height: 600px;
    left: -35%;
  }
}

@media (max-width: 768px) {
  .hero-logo-rotating {
    width: 450px;
    height: 450px;
    left: -40%;
  }
}

.hero-logo-rotating::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.4) 0%, rgba(0, 255, 136, 0.1) 50%, transparent 100%);
  border-radius: 50%;
  animation: centerPulse 3s ease-in-out infinite;
  z-index: 1;
}

@keyframes centerPulse {
  0%, 100% {
    transform: translate(-50%, -50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translate(-50%, -50%) scale(1.3);
    opacity: 1;
  }
}

@keyframes rotate {
  from {
    transform: translateY(-50%) rotate(0deg);
  }
  to {
    transform: translateY(-50%) rotate(360deg);
  }
}

.hero__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  position: relative;
  z-index: 10;
  align-items: center;
}

.hero__logo {
  height: 160px;
  width: auto;
  margin-bottom: 24px;
  opacity: 1;
  display: block;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 700;
  font-size: 12px;
  color: var(--accent);
  margin: 0 0 12px;
}

h1 {
  margin: 0 0 16px;
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1.2;
  font-weight: 700;
}

.lede {
  color: var(--muted);
  font-size: clamp(16px, 2vw, 18px);
  margin: 0 0 24px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font-weight: 600;
  transition: 0.2s ease;
  cursor: pointer;
}

.btn.primary {
  background: var(--accent);
  color: #000;
  border: none;
  font-weight: 600;
}

.btn.primary:hover {
  filter: brightness(1.05);
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.btn.full {
  width: 100%;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
  gap: 20px;
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}

.hero__stats span {
  display: block;
  font-weight: 700;
  font-size: clamp(20px, 3vw, 28px);
  color: var(--accent);
}

.hero__stats small {
  color: var(--muted);
}

.hero__card .card {
  background: transparent;
  border: none;
  border-radius: 12px;
  padding: 0;
}

.card h3 {
  margin: 0 0 12px;
}

.card ul {
  margin: 0 0 12px;
  padding-left: 18px;
  color: var(--muted);
}

.card__cta {
  color: var(--accent);
  font-weight: 600;
}

.section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 0;
}

.section.alt {
  background: var(--panel);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.split {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: center;
}

h2 {
  margin: 0 0 16px;
  font-size: clamp(24px, 4vw, 32px);
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin: 0 0 16px;
  color: var(--muted);
}

.pill-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 14px;
}

.pill {
  background: var(--pill);
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
}

.callout {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 24px;
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 50px 40px;
  margin-top: 40px;
  align-items: center;
}

.logo-grid--compact {
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: 35px 25px;
}

.logo {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}

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

.logo img {
  width: 140px;
  height: 140px;
  object-fit: contain;
  opacity: 0.7;
  transition: opacity 0.2s;
}

.logo:hover img {
  opacity: 1;
}

.logo span {
  display: none;
}

#contact {
  position: relative;
  overflow: hidden;
}

#contact .section {
  position: relative;
}

.contact-gradient {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}

.contact-gradient-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 255, 136, 0.3) 0%, transparent 70%);
  top: 10%;
  right: 5%;
  animation: pulse 18s ease-in-out infinite;
}

.contact-gradient-2 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(0, 212, 255, 0.25) 0%, transparent 70%);
  bottom: 15%;
  left: 60%;
  animation: pulse 22s ease-in-out infinite reverse;
}

.contact-gradient-3 {
  width: 350px;
  height: 350px;
  background: radial-gradient(circle, rgba(255, 0, 136, 0.2) 0%, transparent 70%);
  top: 50%;
  left: 5%;
  animation: pulse 20s ease-in-out infinite;
  animation-delay: -5s;
}

.contact-gradient-4 {
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(136, 0, 255, 0.2) 0%, transparent 70%);
  bottom: 5%;
  right: 20%;
  animation: pulse 16s ease-in-out infinite;
  animation-delay: -8s;
}

.contact-left {
  position: relative;
  z-index: 1;
}

.contact-intro {
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 40px;
}

.contact-direct {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.contact-email-label {
  font-size: 14px;
  color: var(--muted);
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
}

.contact-email-link {
  display: block;
  font-size: 24px;
  font-weight: 700;
  color: var(--accent);
  margin: 0 0 12px;
  transition: opacity 0.2s;
}

.contact-email-link:hover {
  opacity: 0.8;
}

.contact-response {
  font-size: 14px;
  color: var(--muted);
  margin: 0;
}

.contact-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}

.stat-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.stat-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
}

.stat-label {
  font-size: 14px;
  color: var(--muted);
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.info-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color 0.2s, transform 0.2s;
}

.info-card:hover {
  border-color: var(--accent);
  transform: translateX(4px);
}

.info-icon {
  font-size: 28px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 100%);
  border-radius: 12px;
  flex-shrink: 0;
}

.info-content {
  flex: 1;
}

.info-content h4 {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
}

.contact-link {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: opacity 0.2s;
}

.contact-link:hover {
  opacity: 0.8;
}

.info-text {
  margin: 0;
  color: var(--muted);
}

.contact-card {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 20px;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 14px;
  background: var(--card);
}

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}

form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-weight: 600;
  color: var(--text);
}

input,
textarea {
  background: #0f111c;
  border: 1px solid var(--border);
  color: var(--text);
  border-radius: 12px;
  padding: 12px;
  font: inherit;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--accent);
  outline-offset: 0;
}

.muted {
  color: var(--muted);
}

.footer {
  background: #07080f;
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.footer__grid {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
}

.footer__links {
  display: flex;
  gap: 18px;
  color: var(--muted);
}

.footer__links a:hover {
  color: var(--accent);
}

@media (min-width: 768px) {
  .hero__grid {
    grid-template-columns: 1.2fr 0.8fr;
  }
  
  .split {
    grid-template-columns: 1.1fr 0.9fr;
  }
  
  .logo-grid {
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 50px 40px;
  }
  
  .logo-grid--compact {
    grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    gap: 40px 35px;
  }
  
  .logo img {
    width: 140px;
    height: 140px;
  }
}

@media (min-width: 1024px) {
  .max-width {
    padding: 0 40px;
  }
  
  .hero {
    padding: 80px 0 60px;
  }
  
  .section {
    padding: 80px 0;
  }
}

@media (max-width: 767px) {
  .hero__actions {
    flex-direction: column;
  }
  
  .btn {
    width: 100%;
    justify-content: center;
  }
  
  .hero__stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
  }
  
  .logo-grid,
  .logo-grid--compact {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
  }
  
  .logo img {
    width: 85px;
    height: 85px;
  }

  .footer__grid {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }
}

