:root {
  --primary-color: #ff6b6b;
  --secondary-color: #4ecdc4;
  --accent-color: #ffe66d;
  --background-color: #2c3e50;
  --text-color: #ecf0f1;
  --pixel-size: 2px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Press Start 2P", cursive;
  background-color: var(--background-color);
  color: var(--text-color);
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header Styles */
.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(44, 62, 80, 0.9);
  padding: 20px 0;
  z-index: 1000;
  border-bottom: var(--pixel-size) solid var(--primary-color);
}

.logo {
  font-size: 24px;
  color: var(--primary-color);
  text-shadow: 2px 2px 0 var(--accent-color);
}

.nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav a {
  color: var(--text-color);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.3s;
}

.nav a:hover {
  color: var(--primary-color);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: linear-gradient(45deg, var(--background-color), #34495e);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><rect width="1" height="1" fill="%23FF6B6B" opacity="0.1"/></svg>');
  opacity: 0.1;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 20px;
  color: var(--primary-color);
  text-shadow: 4px 4px 0 var(--accent-color);
}

.hero p {
  font-size: 18px;
  margin-bottom: 40px;
}

/* CTA Button */
.cta-button {
  display: inline-block;
  padding: 15px 30px;
  background-color: var(--primary-color);
  color: var(--text-color);
  text-decoration: none;
  font-size: 16px;
  border: var(--pixel-size) solid var(--accent-color);
  position: relative;
  transition: transform 0.3s;
}

.cta-button:hover {
  transform: translateY(-5px);
}

/* Footer */
.footer {
  background-color: #1a252f;
  padding: 40px 0;
  border-top: var(--pixel-size) solid var(--primary-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-links a {
  color: var(--text-color);
  text-decoration: none;
  margin-left: 20px;
  font-size: 12px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav ul {
    flex-direction: column;
    gap: 15px;
  }

  .hero h1 {
    font-size: 32px;
  }

  .hero p {
    font-size: 14px;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
  }
}

/* Legal Pages Styles */
.legal-content {
  padding: 120px 0 60px;
  min-height: calc(100vh - 200px);
}

.legal-content h1 {
  font-size: 32px;
  color: var(--primary-color);
  margin-bottom: 40px;
  text-align: center;
}

.legal-content h2 {
  font-size: 20px;
  color: var(--secondary-color);
  margin: 30px 0 15px;
}

.legal-content p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.legal-content ul {
  list-style-type: none;
  padding-left: 20px;
}

.legal-content li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
  font-size: 14px;
}

.legal-content li::before {
  content: "■";
  color: var(--primary-color);
  position: absolute;
  left: 0;
  font-size: 12px;
}

@media (max-width: 768px) {
  .legal-content {
    padding: 100px 0 40px;
  }

  .legal-content h1 {
    font-size: 24px;
  }

  .legal-content h2 {
    font-size: 18px;
  }
}

/* Section Styles */
.section {
  padding: 100px 0;
  position: relative;
}

.section h2 {
  font-size: 36px;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 60px;
  text-shadow: 3px 3px 0 var(--accent-color);
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 20px;
  text-align: center;
  border: var(--pixel-size) solid var(--primary-color);
  transition: transform 0.3s;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card i {
  font-size: 48px;
  color: var(--secondary-color);
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 20px;
  margin-bottom: 15px;
}

/* Workflow Section */
.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  width: var(--pixel-size);
  height: 100%;
  background: var(--primary-color);
  left: 50%;
  transform: translateX(-50%);
}

.timeline-item {
  margin-bottom: 40px;
  position: relative;
}

.timeline-content {
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border: var(--pixel-size) solid var(--secondary-color);
  width: 45%;
}

.timeline-item:nth-child(odd) .timeline-content {
  margin-left: auto;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.about-intro {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 30px;
  color: var(--text-color);
}

.about-details {
  background: rgba(255, 255, 255, 0.05);
  padding: 30px;
  border: var(--pixel-size) solid var(--secondary-color);
}

.about-details h3 {
  font-size: 20px;
  color: var(--primary-color);
  margin: 20px 0 15px;
  text-shadow: 2px 2px 0 var(--accent-color);
}

.about-details p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-color);
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  position: sticky;
  top: 120px;
}

.stat {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.1);
  border: var(--pixel-size) solid var(--accent-color);
}

.stat-number {
  display: block;
  font-size: 36px;
  color: var(--primary-color);
  margin-bottom: 10px;
}

/* Pricing Section */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.pricing-card {
  background: rgba(255, 255, 255, 0.1);
  padding: 40px;
  text-align: center;
  border: var(--pixel-size) solid var(--primary-color);
}

.pricing-card.featured {
  transform: scale(1.1);
  background: rgba(255, 255, 255, 0.2);
}

.pricing-card h3 {
  font-size: 24px;
  margin-bottom: 20px;
}

.price {
  font-size: 36px;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.pricing-card ul {
  list-style: none;
  margin-bottom: 30px;
}

.pricing-card li {
  margin-bottom: 10px;
}

/* Contact Section */
.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 15px;
  background: rgba(255, 255, 255, 0.1);
  border: var(--pixel-size) solid var(--primary-color);
  color: var(--text-color);
  font-family: "Press Start 2P", cursive;
}

.form-group textarea {
  height: 150px;
  resize: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .services-grid,
  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .about-content {
    grid-template-columns: 1fr;
  }

  .timeline::before {
    left: 20px;
  }

  .timeline-content {
    width: calc(100% - 50px);
    margin-left: 50px !important;
  }

  .pricing-card.featured {
    transform: none;
  }
}

/* Mobile Optimization */
@media (max-width: 768px) {
  /* Header */
  .header {
    padding: 15px 0;
  }

  .logo {
    font-size: 20px;
  }

  .nav {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 70px);
    background: var(--background-color);
    transition: left 0.3s;
  }

  .nav.active {
    left: 0;
  }

  .nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .nav a {
    font-size: 16px;
    padding: 10px 0;
    display: block;
  }

  /* Hero Section */
  .hero {
    padding-top: 70px;
  }

  .hero h1 {
    font-size: 24px;
    padding: 0 20px;
  }

  .hero p {
    font-size: 14px;
    padding: 0 20px;
  }

  /* Services Section */
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }

  .service-card {
    padding: 30px 20px;
  }

  .service-card i {
    font-size: 36px;
  }

  .service-card h3 {
    font-size: 18px;
  }

  /* Workflow Section */
  .timeline::before {
    left: 20px;
  }

  .timeline-content {
    width: calc(100% - 50px);
    margin-left: 50px !important;
    padding: 15px;
  }

  .timeline-content h3 {
    font-size: 16px;
  }

  /* About Section */
  .about-content {
    grid-template-columns: 1fr;
    padding: 0 20px;
  }

  .about-intro {
    font-size: 16px;
  }

  .about-details {
    padding: 20px;
  }

  .about-details h3 {
    font-size: 18px;
  }

  .about-details p {
    font-size: 14px;
  }

  .about-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-top: 30px;
  }

  .stat {
    padding: 15px;
  }

  .stat-number {
    font-size: 24px;
  }

  /* Pricing Section */
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 20px;
  }

  .pricing-card {
    padding: 30px 20px;
  }

  .pricing-card.featured {
    transform: none;
  }

  .price {
    font-size: 28px;
  }

  /* Contact Section */
  .contact-form {
    padding: 0 20px;
  }

  .form-group input,
  .form-group textarea {
    font-size: 14px;
    padding: 12px;
  }

  /* Footer */
  .footer {
    padding: 30px 0;
  }

  .footer-content {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .footer-links a {
    margin: 0;
  }
}

/* Small Mobile Devices */
@media (max-width: 480px) {
  .hero h1 {
    font-size: 20px;
  }

  .section h2 {
    font-size: 24px;
  }

  .about-stats {
    grid-template-columns: 1fr;
  }

  .stat {
    padding: 12px;
  }

  .stat-number {
    font-size: 20px;
  }

  .stat-label {
    font-size: 10px;
  }
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-color);
  font-size: 24px;
  cursor: pointer;
  padding: 10px;
}

@media (max-width: 768px) {
  .menu-toggle {
    display: block;
  }

  .header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
}
