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

:root {
  --color-primary: #8b5cf6;
  --color-primary-dark: #7c3aed;
  --color-accent: #ec4899;
  --color-text: #e2e8f0;
  --color-text-light: #94a3b8;
  --color-bg-light: #1e293b;
  --color-bg-dark: #0f172a;
  --color-border: #334155;
  --font-sans: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --transition: all 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

html.hide-scrollbar {
  scrollbar-width: none;
}

html.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-bg-dark);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.row {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.col-header {
  flex: 0 0 25%;
  min-width: 200px;
}

.col-content {
  flex: 1;
}

.col-full {
  flex: 0 0 100%;
  text-align: center;
}

.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  z-index: 1000;
  padding: 20px 0;
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}

.header-nav.scrolled {
  background: var(--color-bg-dark);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--color-border);
  opacity: 0.95;
}

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

.navbar-brand {
  text-decoration: none;
}

.logo {
  font-size: 26px;
  font-weight: 300;
  color: white;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: var(--transition);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.header-nav.scrolled .logo {
  color: var(--color-primary);
  text-shadow: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 40px;
}

.nav-menu li a {
  text-decoration: none;
  color: white;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.header-nav.scrolled .nav-menu li a {
  color: var(--color-text);
  text-shadow: none;
}

.nav-menu li a:hover {
  color: rgba(255, 255, 255, 0.8);
}

.header-nav.scrolled .nav-menu li a:hover {
  color: var(--color-primary);
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: white;
  transition: var(--transition);
}

.header-nav.scrolled .nav-menu li a::after {
  background: var(--color-primary);
}

.nav-menu li a:hover::after {
  width: 100%;
}

.hamburger-wrapper {
  display: none;
  cursor: pointer;
}

.hamburger {
  display: block;
  width: 30px;
  height: 20px;
  position: relative;
}

.hamburger-inner,
.hamburger-inner::before,
.hamburger-inner::after {
  width: 30px;
  height: 3px;
  background-color: white;
  border-radius: 3px;
  position: absolute;
  transition: var(--transition);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.header-nav.scrolled .hamburger-inner,
.header-nav.scrolled .hamburger-inner::before,
.header-nav.scrolled .hamburger-inner::after {
  background-color: var(--color-text);
  box-shadow: none;
}

.hamburger-inner {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-inner::before,
.hamburger-inner::after {
  content: '';
  display: block;
}

.hamburger-inner::before {
  top: -8px;
}

.hamburger-inner::after {
  bottom: -8px;
}

.hero {
  min-height: 100vh;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: white;
  padding: 100px 0 80px;
  position: relative;
  overflow: hidden;
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

.hero-title {
  font-size: 64px;
  font-weight: 300;
  margin-bottom: 0;
  line-height: 1.2;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  max-width: 800px;
}

.hero-title i {
  font-style: italic;
  font-weight: 400;
}

.hero-subtitle {
  font-size: 26px;
  font-weight: 400;
  opacity: 1;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
  display: none;
}

section {
  padding: 100px 0;
}

section h2 {
  font-size: 36px;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 20px;
}

section h3 {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-text);
  margin-bottom: 15px;
}

section p {
  font-size: 18px;
  color: var(--color-text-light);
  line-height: 1.8;
}

.section-products {
  background: var(--color-bg-dark);
}

.status-badge {
  display: inline-block;
  margin-top: 15px;
  padding: 8px 20px;
  background: var(--color-primary);
  color: white;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.section-services {
  background: var(--color-bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.service-card {
  background: var(--color-bg-dark);
  padding: 40px 30px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid transparent;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(139, 92, 246, 0.4);
  border-color: var(--color-primary);
}

.section-about {
  background: var(--color-bg-dark);
  position: relative;
  overflow: hidden;
}

#aboutCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.3;
}

.section-about .container {
  position: relative;
  z-index: 1;
}

.section-contact {
  background: var(--color-bg-light);
  text-align: center;
}

.section-contact h2 {
  margin-bottom: 20px;
}

.section-contact p {
  margin-bottom: 40px;
}

.btn-contact {
  display: inline-block;
  padding: 15px 40px;
  background: var(--color-primary);
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 18px;
  transition: var(--transition);
}

.btn-contact:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

.waitlist-form {
  max-width: 500px;
  margin: 0 auto;
}

.form-group {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.form-group input[type="email"] {
  flex: 1;
  padding: 15px 20px;
  border: 2px solid var(--color-border);
  border-radius: 5px;
  font-size: 16px;
  font-family: var(--font-sans);
  transition: var(--transition);
}

.form-group input[type="email"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-message {
  font-size: 14px;
  margin-top: 10px;
  min-height: 20px;
}

.form-message.success {
  color: #10b981;
}

.form-message.error {
  color: #ef4444;
}

.contact-alternative {
  margin-top: 30px;
  font-size: 14px;
  color: var(--color-text-light);
}

.contact-alternative a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 600;
}

.contact-alternative a:hover {
  text-decoration: underline;
}

footer {
  background: var(--color-bg-dark);
  color: var(--color-text);
  padding: 60px 0 40px;
  border-top: 1px solid var(--color-border);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
}

.footer-section h3 {
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 15px;
  color: var(--color-text);
}

.footer-section p {
  font-size: 16px;
  color: var(--color-text-light);
}

@media (max-width: 768px) {
  .form-group {
    flex-direction: column;
  }

  .form-group input[type="email"] {
    width: 100%;
  }

  .nav-menu {
    position: fixed;
    top: 83px;
    left: 0;
    right: 0;
    background: transparent;
    flex-direction: column;
    padding: 30px;
    gap: 20px;
    box-shadow: none;
    transform: translateX(100%);
    transition: var(--transition);
  }

  .header-nav.scrolled .nav-menu {
    background: var(--color-bg-dark);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--color-border);
  }

  .nav-menu.active {
    transform: translateX(0);
  }

  .hamburger-wrapper {
    display: block;
  }

  .hamburger-wrapper.active .hamburger-inner {
    background-color: transparent;
  }

  .hamburger-wrapper.active .hamburger-inner::before {
    transform: rotate(45deg);
    top: 0;
  }

  .hamburger-wrapper.active .hamburger-inner::after {
    transform: rotate(-45deg);
    bottom: 0;
  }

  .hero-title {
    font-size: 32px;
  }

  section {
    padding: 60px 0;
  }

  section h2 {
    font-size: 28px;
  }

  section h3 {
    font-size: 20px;
  }

  .row {
    flex-direction: column;
    gap: 20px;
  }

  .col-header {
    flex: 0 0 100%;
  }

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

  .footer-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 24px;
  }

  section h2 {
    font-size: 24px;
  }
}
