:root {
  color-scheme: dark;
  --bg: #03050b;
  --surface: #0b0f1c;
  --surface-2: rgba(10, 15, 28, 0.8);
  --border: rgba(255, 255, 255, 0.08);
  --text: #f4f7ff;
  --muted: rgba(244, 247, 255, 0.7);
  --accent: #27e0ff;
  --accent-strong: #00b4ff;
  --font: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
  --primary-color: #27e0ff;
  --primary-dark: #00b4ff;
  --cyan: #27e0ff;
  --white: #ffffff;
  --black: #03050b;
}

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

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  scroll-behavior: smooth;
  position: relative;
  letter-spacing: -0.01em;
}

/* Noise Overlay */
.noise-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/5/5f/Noise_texture.jpg");
  opacity: 0.05;
  mix-blend-mode: screen;
  z-index: -1;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: radial-gradient(circle at top, rgba(39, 224, 255, 0.2), transparent 35%),
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.06), transparent 40%);
  z-index: -2;
}

/* Rolling Photo Backgrounds */
.global-backdrop {
  position: fixed;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(0.9) brightness(0.35);
  opacity: 0;
  animation: backdrop-cycle 30s infinite;
}

.bg-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top, rgba(3, 5, 11, 0.7), rgba(3, 5, 11, 0.95));
}

.bg-slide.slide-1 {
  background-image: url("photos/gaming-setup-with-headphones-chair.jpg");
  animation-delay: 0s;
}

.bg-slide.slide-2 {
  background-image: url("photos/skilled-sound-designer-enjoying-his-own-music-creating-mixing-console.jpg");
  animation-delay: 10s;
}

.bg-slide.slide-3 {
  background-image: url("photos/young-asian-singer-with-microphone-recording-song-record-music-studio-with-sound-producer.jpg");
  animation-delay: 20s;
}

.container {
  max-width: min(1120px, 90vw);
  margin: 0 auto;
  padding: 0 20px;
}

/* Navigation Bar */
.navbar {
  background-color: transparent;
  border-bottom: 1px solid transparent;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: none;
  transition: background-color 0.3s ease, border-color 0.3s ease, backdrop-filter 0.3s ease;
}

.navbar.scrolled {
  background-color: rgba(3, 5, 11, 0.9);
  backdrop-filter: blur(10px);
  border-bottom-color: var(--border);
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  position: relative;
}

.nav-wrapper .logo {
  flex: 0 0 auto;
}

.nav-wrapper .nav-links {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.nav-wrapper .mobile-menu-toggle {
  flex: 0 0 auto;
}

/* Logo */
.logo {
  text-decoration: none;
}

.logo a {
  text-decoration: none;
}

.logo-text {
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: lowercase;
  letter-spacing: 0.08em;
}

.logo-white {
  color: var(--white);
}

.logo-cyan {
  color: var(--accent);
}

/* Navigation Links */
.nav-links ul {
  display: flex;
  list-style: none;
  gap: 1.5rem;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a.active {
  color: var(--text);
}

/* CTA Button in Nav */
.nav-cta {
  display: flex;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), var(--accent-strong));
  color: #00131a;
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  display: inline-block;
  border: 1px solid transparent;
  font-family: inherit;
  cursor: pointer;
  box-shadow: 0 10px 30px rgba(39, 224, 255, 0.2);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 15px 35px rgba(39, 224, 255, 0.3);
}

.btn-secondary {
  background: transparent;
  border: 1px solid var(--border);
  color: var(--text);
  padding: 0.85rem 1.8rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: border-color 0.2s ease, color 0.2s ease;
  display: inline-block;
  font-family: inherit;
  cursor: pointer;
}

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

.btn-large {
  padding: 0.875rem 2rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
  background: none;
  border: none;
}

.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 0;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-title {
  font-size: clamp(2.8rem, 6vw, 4.4rem);
  font-weight: 800;
  margin-bottom: 1.5rem;
  line-height: 1.08;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2vw, 1.5rem);
  margin-bottom: 2.5rem;
  color: var(--muted);
  font-weight: 300;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

/* Eyebrow Text */
.eyebrow {
  letter-spacing: 0.3em;
  text-transform: uppercase;
  font-size: 0.85rem;
  color: var(--accent);
}

/* Reveal Animations */
section {
  margin-bottom: 5rem;
}

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Section Headings */
.section-heading h2,
.page-title {
  font-size: clamp(2rem, 4vw, 3rem);
  margin: 0.5rem 0 1rem;
  font-weight: 800;
  color: var(--white);
}

.section-heading .eyebrow {
  margin-bottom: 0.5rem;
  display: block;
}

.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 52ch;
}

/* Page Header */
.page-header {
  background: transparent;
  padding: 6rem 0 0.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.25rem;
  color: var(--muted);
  max-width: 950px;
  margin: 0 auto;
}

/* Solutions Page */
.solutions {
  padding: 4rem 0;
  background: transparent;
}

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

.solution-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.8rem;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}


.solution-card:hover {
  transform: translateY(-5px);
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(39, 224, 255, 0.2);
}

.solution-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(39, 224, 255, 0.14), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.solution-card:hover::after {
  opacity: 1;
}

.solution-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.solution-card h3 {
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 1rem;
  text-align: center;
}

.solution-card p {
  color: var(--muted);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.solution-features {
  list-style: none;
  padding: 0;
}

.solution-features li {
  color: var(--muted);
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.solution-features li:before {
  content: "✓";
  color: var(--accent);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* CTA Section */
.cta-section {
  background: linear-gradient(135deg, rgba(39, 224, 255, 0.12), rgba(3, 5, 11, 0.9));
  padding: 4rem 0;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: 32px;
  margin: 4rem 0;
}

.cta-section h2 {
  font-size: 2.5rem;
  color: var(--white);
  margin-bottom: 1rem;
}

.cta-section p {
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: 2rem;
  max-width: 42ch;
  margin-left: auto;
  margin-right: auto;
}

/* Form Sections */
.form-section,
.contact-section {
  padding: 2rem 0;
  background: transparent;
}

.form-container,
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 3rem;
  margin-top: 2rem;
}

.form-container-centered {
  max-width: 600px;
  margin: 2rem auto 0;
}

.form-info,
.contact-info {
  color: var(--white);
}

.form-info h2,
.contact-info h2 {
  font-size: 2rem;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.form-info p,
.contact-info p {
  color: var(--muted);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.info-list {
  list-style: none;
  padding: 0;
}

.info-list li {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  padding: 1rem;
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--border);
}

.info-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.info-list strong {
  color: var(--accent);
  display: block;
  margin-bottom: 0.25rem;
}

.info-list p {
  color: var(--muted);
  margin: 0;
  font-size: 0.9rem;
}

/* Contact Details */
.contact-details {
  margin-top: 2rem;
}

.contact-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: var(--surface);
  border-radius: 18px;
  border: 1px solid var(--border);
}

.contact-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.contact-item h3 {
  color: var(--accent);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

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

.contact-item a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: var(--white);
}

.contact-note {
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

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

.social-link {
  color: var(--accent);
  text-decoration: none;
  padding: 0.5rem 1rem;
  border: 1px solid var(--accent);
  border-radius: 999px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--accent);
  color: var(--black);
}

/* Forms */
.form-wrapper {
  background: var(--surface);
  padding: 2rem;
  border-radius: 20px;
  border: 1px solid var(--border);
}

.form-wrapper h2 {
  color: var(--accent);
  margin-bottom: 1.5rem;
  font-size: 1.75rem;
}

.demo-form,
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.form-group-inline {
  display: flex;
  gap: 1.25rem;
  align-items: flex-end;
}

.form-field-main {
  flex: 2;
  display: flex;
  flex-direction: column;
}

.form-field-side {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.form-field-main label,
.form-field-side label {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-field-main input,
.form-field-side select {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-field-main input:focus,
.form-field-side select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(39, 224, 255, 0.1);
}

.form-group label {
  color: var(--white);
  margin-bottom: 0.5rem;
  font-weight: 500;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(39, 224, 255, 0.1);
}

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

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
}

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
  color: var(--muted);
  font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
  margin-top: 0.25rem;
  cursor: pointer;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.checkbox-options {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.checkbox-option {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 0.5rem;
  cursor: pointer;
  transition: border-color 0.3s ease, background-color 0.3s ease;
  flex: 1;
}

.checkbox-option:hover {
  border-color: var(--accent);
  background: var(--surface);
}

.checkbox-option input[type="checkbox"] {
  cursor: pointer;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.checkbox-option span {
  color: var(--white);
  font-size: 1rem;
}

/* Form Messages */
.form-message {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 8px;
  font-size: 0.95rem;
  text-align: center;
  display: none;
}

.form-message.success {
  display: block;
  color: #10b981;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.3);
}

.form-message.error {
  display: block;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Footer */
.footer {
  background-color: transparent;
  color: white;
  padding: 2rem 0;
  margin-top: 4rem;
  border-top: 1px solid var(--border);
}

.footer-simple {
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.footer-simple p {
  margin: 0;
}

.footer-with-newsletter {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
}

.footer-newsletter {
  flex: 1;
  max-width: 500px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.newsletter-label {
  color: var(--white);
  font-size: 0.95rem;
  font-weight: 500;
}

.newsletter-input-group {
  display: flex;
  gap: 0.5rem;
}

.newsletter-input-group input[type="email"] {
  flex: 1;
  background: var(--surface);
  border: 1px solid var(--border);
  color: var(--white);
  padding: 0.625rem 1rem;
  border-radius: 999px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.newsletter-input-group input[type="email"]:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(39, 224, 255, 0.1);
}

.newsletter-input-group button {
  white-space: nowrap;
}

/* Animations */
@keyframes backdrop-cycle {
  0% {
    opacity: 0;
    transform: scale(1.08);
  }
  5%,
  30% {
    opacity: 1;
    transform: scale(1);
  }
  35%,
  100% {
    opacity: 0;
    transform: scale(0.96);
  }
}

/* Responsive Design */
@media (max-width: 900px) {
  .navbar .nav-wrapper {
    gap: 1rem;
  }

  .nav-links {
    position: fixed;
    inset: 72px 1.5rem auto;
    flex-direction: column;
    padding: 1.5rem;
    border-radius: 16px;
    background: rgba(3, 5, 11, 0.95);
    border: 1px solid var(--border);
    display: none;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links ul {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }

  .nav-links ul li {
    width: 100%;
    text-align: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--border);
  }

  .nav-links ul li:last-child {
    border-bottom: none;
  }

  .mobile-menu-toggle {
    display: flex;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    padding: 4rem 0;
  }

  .container {
    width: min(640px, 90vw);
  }

  .form-container,
  .contact-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

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

  .form-group-inline {
    flex-direction: column;
    align-items: stretch;
  }

  .form-field-main,
  .form-field-side {
    flex: 1;
  }

  .page-header {
    padding: 4rem 0 2rem;
  }

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

  .footer-with-newsletter {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }

  .footer-newsletter {
    width: 100%;
    max-width: 100%;
  }

  .newsletter-input-group {
    flex-direction: column;
  }

  .newsletter-input-group button {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .page-title {
    font-size: 1.875rem;
  }

  .page-subtitle {
    font-size: 1rem;
  }

  .form-wrapper {
    padding: 1.5rem;
  }

  .cta-section h2 {
    font-size: 1.875rem;
  }

  .cta-section p {
    font-size: 1rem;
  }

  .btn-large {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .hero-cta a {
    width: 100%;
    max-width: 300px;
    text-align: center;
  }
}
