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

html {
  scroll-behavior: smooth;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  background: linear-gradient(135deg, #0a0a1a 0%, #1a0f2e 100%);
  color: #e8e8e8;
  line-height: 1.6;
  letter-spacing: 0.3px;
}

:root {
  --dark-bg: #0a0a1a;
  --dark-secondary: #1a0f2e;
  --dark-tertiary: #2a1a4a;
  --light-bg: #f5f3f0;
  --text-light: #f0eeeb;
  --text-dark: #2a2a2a;
  --accent-primary: #ff00ff;
  --accent-secondary: #00d9ff;
  --accent-tertiary: #a8e6db;
  --border-color: rgba(255, 0, 255, 0.2);
  --grain-opacity: 0.03;
}

header {
  background: rgba(10, 10, 26, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-content {
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 24px;
}

@media (min-width: 768px) {
  .header-content {
    padding: 0 48px;
  }
}

@media (min-width: 1024px) {
  .header-content {
    padding: 0 72px;
  }
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent-primary);
  text-decoration: none;
  letter-spacing: 2px;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

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

nav {
  display: none;
  gap: 2rem;
}

@media (min-width: 768px) {
  nav {
    display: flex;
  }
}

nav a {
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
  border-bottom: 2px solid transparent;
  padding-bottom: 0.25rem;
}

nav a:hover,
nav a.active {
  color: var(--accent-primary);
  border-bottom-color: var(--accent-primary);
}

.header-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn {
  padding: 0.75rem 1.5rem;
  border: 2px solid var(--accent-primary);
  background: transparent;
  color: var(--accent-primary);
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.btn:hover {
  background: var(--accent-primary);
  color: var(--dark-bg);
  transform: scale(1.02);
}

.btn-filled {
  background: var(--accent-primary);
  color: var(--dark-bg);
  border-color: var(--accent-primary);
}

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

.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-light);
  font-size: 1.5rem;
  cursor: pointer;
}

@media (max-width: 767px) {
  .menu-toggle {
    display: block;
  }
  
  nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 26, 0.98);
    flex-direction: column;
    padding: 2rem;
    border-bottom: 1px solid var(--border-color);
  }
  
  nav.active {
    display: flex;
  }
}

main {
  min-height: calc(100vh - 200px);
}

section {
  padding: 4rem 24px;
}

@media (min-width: 768px) {
  section {
    padding: 5rem 48px;
  }
}

@media (min-width: 1024px) {
  section {
    padding: 6rem 72px;
  }
}

h1, h2, h3 {
  margin-bottom: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  line-height: 1.3;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.4;
}

@media (max-width: 767px) {
  h1 {
    font-size: 2rem;
  }
  
  h2 {
    font-size: 1.5rem;
  }
  
  h3 {
    font-size: 1.1rem;
  }
}

p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

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

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

.hero {
  background: linear-gradient(135deg, rgba(26, 15, 46, 0.9) 0%, rgba(42, 26, 74, 0.8) 100%);
  position: relative;
  overflow: hidden;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr;
  min-height: 100vh;
  align-items: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(255, 0, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(0, 217, 255, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 4rem 24px;
  display: grid;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    grid-template-columns: 1fr 1fr;
  }
  
  .hero-content {
    padding: 4rem 48px;
    grid-column: 1;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    padding: 6rem 72px;
  }
}

.hero h1 {
  color: var(--text-light);
  font-size: 2.5rem;
}

@media (min-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
}

.hero-subtitle {
  color: var(--accent-tertiary);
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 500px;
}

.hero-image {
  position: relative;
  height: 100%;
  min-height: 400px;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

@media (min-width: 768px) {
  .hero-image {
    display: flex;
  }
}

.hero-image img {
  width: 100%;
  height: auto;
  max-width: 400px;
  border-radius: 20px;
  border: 3px solid var(--border-color);
  box-shadow: 0 0 40px rgba(255, 0, 255, 0.3);
  transform: perspective(1000px) rotateY(-10deg);
  transition: transform 0.3s ease;
}

.hero-image img:hover {
  transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.modules-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 2rem;
}

@media (min-width: 768px) {
  .modules-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}

.module-card {
  background: rgba(42, 26, 74, 0.5);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 10px;
  transition: all 0.3s ease;
  display: flex;
  gap: 1.5rem;
  align-items: flex-start;
}

.module-card:hover {
  background: rgba(42, 26, 74, 0.8);
  border-color: var(--accent-primary);
  transform: translateY(-5px);
}

.module-icon {
  width: 60px;
  height: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
}

.module-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.module-content h3 {
  margin-bottom: 0.5rem;
  color: var(--accent-primary);
}

.module-content p {
  font-size: 0.9rem;
  color: var(--accent-tertiary);
  margin: 0;
}

.content-block {
  display: grid;
  gap: 2rem;
  align-items: center;
  margin-bottom: 4rem;
}

@media (min-width: 768px) {
  .content-block {
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
  }
  
  .content-block:nth-child(even) {
    grid-template-columns: 1fr 1fr;
  }
  
  .content-block:nth-child(even) .content-text {
    order: 2;
  }
  
  .content-block:nth-child(even) .content-image {
    order: 1;
  }
}

.content-text {
  padding: 1rem;
}

.content-text h2 {
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
}

.content-text p {
  color: var(--text-light);
  line-height: 1.9;
}

.content-image {
  padding: 1rem;
  position: relative;
}

.content-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid var(--border-color);
  transition: all 0.3s ease;
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.2);
}

.content-image img:hover {
  transform: scale(1.02);
  box-shadow: 0 0 40px rgba(0, 217, 255, 0.3);
  border-color: var(--accent-secondary);
}

.catalog {
  background: linear-gradient(180deg, rgba(10, 10, 26, 0.8) 0%, rgba(26, 15, 46, 0.9) 100%);
}

.catalog h1 {
  color: var(--text-light);
  margin-bottom: 2rem;
}

.catalog-intro {
  margin-bottom: 3rem;
  max-width: 800px;
}

.catalog-intro p {
  color: var(--text-light);
  line-height: 1.9;
}

.catalog-section {
  margin-bottom: 4rem;
}

.catalog-section h2 {
  color: var(--accent-primary);
  margin-bottom: 2rem;
  font-size: 1.8rem;
}

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

@media (min-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2.5rem;
  }
}

.product-card {
  background: rgba(42, 26, 74, 0.6);
  border: 2px solid var(--border-color);
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 0, 255, 0.3);
  background: rgba(42, 26, 74, 0.9);
}

.product-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: rgba(26, 15, 46, 0.5);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

.product-content {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-content h3 {
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.product-description {
  color: var(--accent-tertiary);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  flex: 1;
  line-height: 1.7;
}

.product-specs {
  color: var(--accent-secondary);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  padding: 0.75rem;
  background: rgba(0, 217, 255, 0.1);
  border-left: 2px solid var(--accent-secondary);
  border-radius: 4px;
}

.product-price {
  font-size: 1.3rem;
  color: var(--accent-primary);
  font-weight: 700;
  margin-bottom: 1rem;
}

.product-button {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 0, 255, 0.2);
  border: 2px solid var(--accent-primary);
  color: var(--accent-primary);
  cursor: pointer;
  border-radius: 6px;
  font-weight: 600;
  transition: all 0.3s ease;
  text-align: center;
  text-decoration: none;
  display: block;
}

.product-button:hover {
  background: var(--accent-primary);
  color: var(--dark-bg);
  transform: scale(1.02);
}

.inquiry-section {
  background: rgba(26, 15, 46, 0.6);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 10px;
  margin-top: 3rem;
}

.inquiry-section h3 {
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  font-size: 1.3rem;
}

.inquiry-section p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1rem;
}

.faqs-section {
  background: linear-gradient(180deg, rgba(10, 10, 26, 0.8) 0%, rgba(26, 15, 46, 0.9) 100%);
}

.faqs-section h1 {
  color: var(--text-light);
  margin-bottom: 3rem;
}

.faq-item {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border-color);
}

.faq-item:last-child {
  border-bottom: none;
}

.faq-question {
  color: var(--accent-primary);
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.faq-question:hover {
  color: var(--accent-secondary);
}

.faq-answer {
  color: var(--text-light);
  line-height: 1.9;
}

.faq-answer p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

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

.contact-section {
  background: linear-gradient(180deg, rgba(10, 10, 26, 0.8) 0%, rgba(26, 15, 46, 0.9) 100%);
}

.contact-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 768px) {
  .contact-content {
    grid-template-columns: 1fr 1fr;
  }
}

.contact-info h2 {
  color: var(--accent-primary);
  margin-bottom: 2rem;
}

.contact-info p {
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.8;
}

.contact-details {
  background: rgba(42, 26, 74, 0.5);
  border: 1px solid var(--border-color);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.contact-details p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.contact-details strong {
  color: var(--accent-primary);
}

.contact-image {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.contact-image img {
  width: 100%;
  height: auto;
  border-radius: 10px;
  border: 2px solid var(--border-color);
  box-shadow: 0 0 30px rgba(255, 0, 255, 0.2);
}

.contact-form {
  background: rgba(42, 26, 74, 0.5);
  border: 1px solid var(--border-color);
  padding: 2rem;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background: rgba(26, 15, 46, 0.8);
  border: 1px solid var(--border-color);
  border-radius: 6px;
  color: var(--text-light);
  font-family: inherit;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 10px rgba(255, 0, 255, 0.2);
}

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

.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.checkbox-group input {
  width: auto;
  margin-top: 0.25rem;
  cursor: pointer;
}

.checkbox-group label {
  margin-bottom: 0;
  font-size: 0.9rem;
}

.form-group button {
  width: 100%;
  padding: 0.75rem;
  background: var(--accent-primary);
  border: 2px solid var(--accent-primary);
  color: var(--dark-bg);
  cursor: pointer;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-group button:hover {
  background: var(--accent-secondary);
  border-color: var(--accent-secondary);
  transform: scale(1.02);
}

.thank-you-section {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
}

.thank-you-content {
  max-width: 600px;
  padding: 2rem;
}

.thank-you-content h1 {
  color: var(--accent-primary);
  margin-bottom: 1.5rem;
  font-size: 2.5rem;
}

.thank-you-content p {
  color: var(--text-light);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  font-size: 1rem;
}

.legal-section {
  background: linear-gradient(180deg, rgba(10, 10, 26, 0.8) 0%, rgba(26, 15, 46, 0.9) 100%);
  min-height: 100vh;
}

.legal-content {
  max-width: 900px;
  margin: 0 auto;
  color: var(--text-light);
}

.legal-content h1 {
  color: var(--accent-primary);
  margin-bottom: 2rem;
  font-size: 2rem;
}

.legal-content h2 {
  color: var(--accent-secondary);
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.legal-content h3 {
  color: var(--accent-tertiary);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

.legal-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
  text-align: justify;
}

.legal-content ul,
.legal-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-light);
}

.legal-content li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

footer {
  background: rgba(10, 10, 26, 0.95);
  border-top: 1px solid var(--border-color);
  padding: 3rem 24px 2rem;
  color: var(--text-light);
}

@media (min-width: 768px) {
  footer {
    padding: 4rem 48px 2rem;
  }
}

@media (min-width: 1024px) {
  footer {
    padding: 5rem 72px 2rem;
  }
}

.footer-content {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

@media (min-width: 768px) {
  .footer-content {
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
  }
}

.footer-column h3 {
  color: var(--accent-primary);
  margin-bottom: 1rem;
  font-size: 1rem;
}

.footer-column a {
  display: block;
  margin-bottom: 0.75rem;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  color: var(--accent-tertiary);
}

.footer-column a:hover {
  color: var(--accent-primary);
}

.footer-bottom {
  border-top: 1px solid var(--border-color);
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(232, 232, 232, 0.6);
}

.grain {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: 
    repeating-linear-gradient(
      0deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 2px
    ),
    repeating-linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.03),
      rgba(255, 255, 255, 0.03) 1px,
      transparent 1px,
      transparent 2px
    );
  z-index: -1;
}

@media print {
  body {
    background: white;
    color: black;
  }
  
  header, footer {
    background: white;
    border-color: #ccc;
  }
}
