:root {
  --background: #0f0f0f;
  --text: #ffffff;
  --accent: #64ffda;
  --secondary: #8892b0;
  --card-bg: #1a1a1a;
  --gradient: linear-gradient(45deg, #64ffda, #00a3ff);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--background);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

.noise {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 400 400' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 1;
}

/* Navigation */
nav {
  position: fixed;
  width: 100%;
  padding: 1.5rem;
  background: rgba(15, 15, 15, 0.8);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.nav-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.05em;
}

.blink {
  animation: blink 1s infinite;
  color: var(--accent);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  position: relative;
}

.nav-links a:not(.client-space)::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-links a:not(.client-space):hover::after {
  width: 80%;
}

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

.client-space {
  background: linear-gradient(
    to right,
    var(--accent),
    #00a3ff
  );
  color: var(--background) !important;
  font-weight: 600;
  padding: 0.5rem 1.2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.client-space:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(100, 255, 218, 0.2);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 2rem;
}

.grid-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(rgba(100, 255, 218, 0.1) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(100, 255, 218, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  opacity: 0.2;
}

.hero-content {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 2;
}

.glitch {
  font-size: 6rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  position: relative;
  text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
              -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
              0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  animation: glitch 500ms infinite;
}

.subtitle {
  font-size: 1.5rem;
  color: var(--accent);
  margin: 1rem 0;
}

.hero-description {
  margin-top: 2rem;
}

.tech-stack {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.tech-stack span {
  padding: 0.5rem 1rem;
  background: rgba(100, 255, 218, 0.1);
  border-radius: 4px;
  font-size: 0.9rem;
}

/* Enhanced Section Titles */
section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 3rem;
  position: relative;
  display: inline-block;
  color: var(--text);
  letter-spacing: -0.03em;
}

section h2::before {
  content: '';
  position: absolute;
  width: 40px;
  height: 4px;
  background: var(--gradient);
  bottom: -10px;
  left: 0;
  border-radius: 2px;
}

section h2::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  bottom: -8.5px;
  left: 50px;
  border-radius: 2px;
}

section h2 .accent {
  color: var(--accent);
  font-size: 3rem;
  position: relative;
  top: 2px;
}

/* Add subtle background decoration for section titles */
.section-header {
  position: relative;
  margin-bottom: 4rem;
}

.section-header .background-text {
  position: absolute;
  font-size: 8rem;
  font-weight: 800;
  opacity: 0.03;
  top: -3rem;
  left: -2rem;
  white-space: nowrap;
  color: var(--text);
  z-index: 0;
  pointer-events: none;
}

/* Adjust section padding and layout */
section {
  position: relative;
  overflow: hidden;
}

.about, .services, .work, .pricing, .contact {
  padding: 10rem 2rem;
}

/* About Section */
.about {
}

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

.terminal {
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
}

.terminal-header {
  background: #2d2d2d;
  padding: 0.5rem;
  display: flex;
  gap: 0.5rem;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ff5f56;
}

.dot:nth-child(2) {
  background: #ffbd2e;
}

.dot:nth-child(3) {
  background: #27c93f;
}

.terminal-content {
  padding: 1rem;
  font-family: monospace;
}

.command {
  color: var(--accent);
  display: block;
  margin-bottom: 0.5rem;
}

.response {
  color: var(--text);
  display: block;
  margin-bottom: 0.5rem;
  padding-left: 1rem;
}

.about-text {
  position: relative;
  max-height: 150px;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.about-text.expanded {
  max-height: 1000px;
}

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

.read-more-btn {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  background: var(--gradient);
  color: var(--background);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  margin-top: 1rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.read-more-btn:hover {
  transform: translateY(-2px);
}

/* Services Section */
.services {
}

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

.service-card {
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
}

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}

/* Work Section */
.work {
}

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

.work-card1 {
  position: relative;
  background-image: url("Le K'Banon - St-Gilles-les-Bains.png");
  background-size: 100%;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.work-card2 {
  position: relative;
  background: var(--card-bg);
  background-image: url("Restaurant Le Jardin des Sens 974.png");
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.work-card3 {
  position: relative;
  background: var(--card-bg);
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/9;
}

.work-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 2rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

/* Pricing Section */
.pricing {
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.price-card {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 2.5rem;
  position: relative;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  backdrop-filter: blur(10px);
}

.price-card:hover {
  transform: translateY(-10px);
  border-color: var(--accent);
  box-shadow: 0 10px 30px rgba(100, 255, 218, 0.1);
}

.price-card.featured {
  background: linear-gradient(145deg, rgba(100, 255, 218, 0.1), rgba(0, 163, 255, 0.1));
  border: 1px solid var(--accent);
  transform: scale(1.05);
}

.price-card.featured:hover {
  transform: scale(1.05) translateY(-10px);
}

.price-card.ultimate {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.03));
  border: 1px solid var(--secondary);
}

.price-card.ultimate:hover {
  border-color: var(--accent);
}

.price-header {
  text-align: center;
  margin-bottom: 2rem;
}

.price-header h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.price {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.price .setup {
  display: block;
  font-size: 0.8rem;
  color: var(--secondary);
  margin-top: 0.5rem;
}

.amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--accent);
}

.period {
  color: var(--secondary);
  font-size: 0.9rem;
}

.features {
  list-style: none;
  margin: 2rem 0;
  flex-grow: 1;
}

.features li {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: var(--secondary);
  font-size: 0.95rem;
  line-height: 1.4;
}

.features li:before {
  content: "";
  width: 6px;
  height: 6px;
  background: var(--accent);
  border-radius: 50%;
}

.price-cta {
  display: block;
  text-align: center;
  padding: 1rem;
  background: var(--gradient);
  color: var(--background);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

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

.popular-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient);
  color: var(--background);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.custom-quote {
  text-align: center;
  margin-top: 6rem;
  padding: 4rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.02));
  border-radius: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.custom-quote h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.custom-quote p {
  color: var(--secondary);
  margin-bottom: 2rem;
  font-size: 1.1rem;
  line-height: 1.6;
}

.quote-cta {
  display: inline-block;
  padding: 1rem 2rem;
  background: var(--gradient);
  color: var(--background);
  text-decoration: none;
  border-radius: 6px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

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

/* Contact Section */
.contact {
  position: relative;
  overflow: hidden;
  padding: 10rem 2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.contact-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.contact-info {
  padding: 2rem;
}

.contact-info p {
  color: var(--secondary);
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.contact-methods {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-top: 3rem;
}

.contact-method {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.contact-method:hover {
  transform: translateX(10px);
  background: rgba(255, 255, 255, 0.08);
}

.contact-method .icon {
  font-size: 1.5rem;
  color: var(--accent);
}

.contact-method .method-details {
  flex: 1;
}

.contact-method .method-details h4 {
  color: var(--text);
  margin-bottom: 0.2rem;
}

.contact-method .method-details p {
  color: var(--secondary);
  font-size: 0.9rem;
  margin: 0;
}

.contact-form {
  background: rgba(255, 255, 255, 0.03);
  padding: 2.5rem;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.form-input {
  width: 100%;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  color: var(--text);
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--accent);
  background: rgba(255, 255, 255, 0.08);
}

textarea.form-input {
  min-height: 150px;
  resize: vertical;
}

.submit-button {
  width: 100%;
  padding: 1rem;
  background: var(--gradient);
  color: var(--background);
  border: none;
  border-radius: 6px;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
}

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

/* Comparison Section */
.comparison {
  padding: 6rem 2rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.01));
}

.comparison-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.comparison-card {
  background: rgba(20, 20, 35, 0.5);
  border-radius: 16px;
  padding: 2rem;
  backdrop-filter: blur(10px);
}

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

.comparison-card.before {
  border: 1px solid rgba(255, 0, 0, 0.2);
}

.comparison-card.after {
  border: 1px solid rgba(100, 255, 218, 0.2);
}

.messages {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 8px;
  font-size: 0.95rem;
}

.comparison-card.before .message {
  color: #ff6b6b;
}

.comparison-card.after .message {
  color: var(--accent);
}

.cross {
  color: #ff6b6b;
  font-size: 1.2rem;
  font-weight: bold;
}

.dot {
  width: 8px;
  height: 8px;
  background: var(--accent);
  border-radius: 50%;
}

.message.success {
  background: linear-gradient(90deg, rgba(100, 255, 218, 0.1), rgba(100, 255, 218, 0.05));
  border: 1px solid var(--accent);
  color: var(--text);
}

.message .icon {
  font-size: 1.2rem;
}

/* Footer */
footer {
  padding: 2rem;
  background: var(--card-bg);
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

.social-links a {
  color: var(--text);
  text-decoration: none;
}

/* Mobile Menu Styles */
.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 101;
}

.mobile-menu-button .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  background: var(--text);
  transition: all 0.3s ease;
}

.mobile-menu-button.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-menu-button.active .bar:nth-child(2) {
  opacity: 0;
}

.mobile-menu-button.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Animations */
@keyframes blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

@keyframes glitch {
  0% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                -0.025em -0.05em 0 rgba(0, 255, 0, 0.75),
                0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  14% {
    text-shadow: 0.05em 0 0 rgba(255, 0, 0, 0.75),
                -0.05em -0.025em 0 rgba(0, 255, 0, 0.75),
                -0.025em 0.05em 0 rgba(0, 0, 255, 0.75);
  }
  15% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
                0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
                -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  49% {
    text-shadow: -0.05em -0.025em 0 rgba(255, 0, 0, 0.75),
                0.025em 0.025em 0 rgba(0, 255, 0, 0.75),
                -0.05em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  50% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
                0.05em 0 0 rgba(0, 255, 0, 0.75),
                0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  99% {
    text-shadow: 0.025em 0.05em 0 rgba(255, 0, 0, 0.75),
                0.05em 0 0 rgba(0, 255, 0, 0.75),
                0 -0.05em 0 rgba(0, 0, 255, 0.75);
  }
  100% {
    text-shadow: -0.025em 0 0 rgba(255, 0, 0, 0.75),
                -0.025em -0.025em 0 rgba(0, 255, 0, 0.75),
                -0.025em -0.05em 0 rgba(0, 0, 255, 0.75);
  }
}

.tech-carousel {
  background: linear-gradient(to right, rgba(15, 15, 15, 0.9) 0%, transparent 5%, transparent 95%, rgba(15, 15, 15, 0.9) 100%);
  padding: 4rem 0;
  overflow: hidden;
  position: relative;
  margin: 2rem 0;
}

.carousel-track {
  display: flex;
  animation: scroll 30s linear infinite;
  gap: 4rem;
  width: fit-content;
}

.carousel-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
  opacity: 0.6;
  transition: opacity 0.3s ease;
  min-width: 100px;
}

.carousel-item:hover {
  opacity: 1;
}

.tech-logo {
  width: 48px;
  height: 48px;
  color: white;
}

.carousel-item span {
  font-size: 0.9rem;
  color: var(--text);
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(calc(-50%));
  }
}

/* Enhanced Responsive Design */
@media (max-width: 1024px) {
  .pricing-grid {
    gap: 1.5rem;
    padding: 0 1rem;
  }

  .price-card.featured {
    transform: none;
  }

  .contact-wrapper {
    padding: 0 1rem;
  }

  .hero-content {
    padding: 0 1rem;
  }

  .glitch {
    font-size: 4rem;
  }
}

@media (max-width: 768px) {
  .mobile-menu-button {
    display: block;
  }

  .nav-content {
    padding: 0 1rem;
  }

  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    height: 100vh;
    width: 100%;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: 0.3s ease;
    z-index: 100;
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    margin: 1rem 0;
    font-size: 1.2rem;
  }

  .about-grid,
  .services-grid,
  .work-grid,
  .pricing-grid,
  .comparison-grid,
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .glitch {
    font-size: 3rem;
  }

  .subtitle {
    font-size: 1.2rem;
  }

  .tech-stack {
    flex-wrap: wrap;
    justify-content: center;
  }

  .section-header .background-text {
    font-size: 4rem;
  }

  .price-card {
    margin: 0 1rem;
  }

  .custom-quote {
    margin: 4rem 1rem 0;
    padding: 2rem;
  }

  .contact {
    padding: 6rem 1rem;
  }

  .contact-info {
    text-align: center;
  }

  .contact-methods {
    align-items: center;
  }

  .footer-content {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
    padding: 1rem;
  }

  .about, .services, .work, .pricing, .contact {
    padding: 6rem 1rem;
  }

  .carousel-item {
    min-width: 80px;
  }

  .tech-logo {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .glitch {
    font-size: 2.5rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .section-header .background-text {
    font-size: 3rem;
  }

  .tech-stack span {
    font-size: 0.8rem;
    padding: 0.4rem 0.8rem;
  }

  .contact-method {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .contact-method .icon {
    margin-bottom: 0.5rem;
  }

  .carousel-item {
    min-width: 60px;
  }

  .tech-logo {
    width: 24px;
    height: 24px;
  }
}