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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    sans-serif;
  line-height: 1.6;
  color: #333;
  background: #0a0a0a;
}

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

/* Header */
header {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 15px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

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

.logo {
  font-size: 28px;
  font-weight: 700;
  color: #00d4ff;
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  cursor: pointer;
}

.nav-links a:hover,
.nav-links a.active {
  color: #00d4ff;
}

.mobile-menu {
  display: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="200" cy="200" r="2" fill="%2300d4ff" opacity="0.3"/><circle cx="800" cy="300" r="1.5" fill="%2300d4ff" opacity="0.2"/><circle cx="400" cy="600" r="1" fill="%2300d4ff" opacity="0.4"/><circle cx="900" cy="100" r="2.5" fill="%2300d4ff" opacity="0.2"/><circle cx="100" cy="800" r="1.8" fill="%2300d4ff" opacity="0.3"/></svg>')
    repeat;
  animation: float 20s infinite linear;
  z-index: 1;
}

@keyframes float {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(-50px, -50px) rotate(360deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
}

.hero h1 {
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #fff 0%, #00d4ff 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  font-size: 1.3rem;
  margin-bottom: 30px;
  color: #b3b3b3;
  max-width: 600px;
}

.cta-button {
  display: inline-block;
  padding: 15px 35px;
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 35px rgba(0, 212, 255, 0.4);
}

.cta-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.cta-button:hover::before {
  left: 100%;
}

/* Services Section */
.services {
  padding: 100px 0;
  background: #0f0f0f;
}

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-size: 3rem;
  color: #fff;
  margin-bottom: 15px;
}

.section-title p {
  font-size: 1.2rem;
  color: #888;
  max-width: 600px;
  margin: 0 auto;
}

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

.service-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.service-icon {
  font-size: 3rem;
  color: #00d4ff;
  margin-bottom: 20px;
}

.service-card h3 {
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 15px;
}

.service-card p {
  color: #b3b3b3;
  line-height: 1.6;
}

/* Projects Section */
.projects {
  padding: 100px 0;
  background: #0f0f0f;
}

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

.project-card {
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
}

.project-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.project-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.project-card:hover::before {
  transform: scaleX(1);
}

.project-image {
  height: 200px;
  background: linear-gradient(135deg, #1a1a2e 0%, #00d4ff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.project-image i {
  font-size: 3rem;
  color: rgba(255, 255, 255, 0.8);
  z-index: 2;
}

.project-image::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ffffff" opacity="0.1"/><circle cx="80" cy="30" r="1.5" fill="%23ffffff" opacity="0.1"/><circle cx="40" cy="60" r="1" fill="%23ffffff" opacity="0.1"/><circle cx="90" cy="10" r="2.5" fill="%23ffffff" opacity="0.1"/><circle cx="10" cy="80" r="1.8" fill="%23ffffff" opacity="0.1"/></svg>')
    repeat;
  z-index: 1;
}

.project-content {
  padding: 30px;
}

.project-category {
  display: inline-block;
  background: rgba(0, 212, 255, 0.2);
  color: #00d4ff;
  padding: 5px 12px;
  border-radius: 15px;
  font-size: 0.8rem;
  font-weight: 600;
  margin-bottom: 15px;
}

.project-title {
  font-size: 1.4rem;
  color: #fff;
  margin-bottom: 10px;
  font-weight: 600;
}

.project-description {
  color: #b3b3b3;
  line-height: 1.6;
  margin-bottom: 20px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tech-tag {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  padding: 4px 10px;
  border-radius: 10px;
  font-size: 0.75rem;
  font-weight: 500;
}

/* About Section */
.about {
  padding: 100px 0;
  background: #0a0a0a;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-text h2 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 20px;
}

.about-text p {
  color: #b3b3b3;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.about-image {
  position: relative;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
  filter: grayscale(30%);
  transition: filter 0.3s ease;
}

.about-image:hover img {
  filter: grayscale(0%);
}

/* Stats */
.stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.stat-item {
  text-align: center;
  padding: 20px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #00d4ff;
}

.stat-label {
  color: #b3b3b3;
  font-size: 0.9rem;
  margin-top: 5px;
}

/* Footer */
footer {
  background: #050505;
  padding: 60px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-section h3 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-section p,
.footer-section a {
  color: #888;
  text-decoration: none;
  line-height: 1.8;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: #00d4ff;
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 15px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 25px;
  color: #888;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-links a:hover {
  background: #00d4ff;
  color: #fff;
  border-color: #00d4ff;
  transform: translateY(-2px);
}

.footer-bottom {
  text-align: center;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #666;
}

/* Page Content */
.page-content {
  padding: 120px 0 60px;
  background: #0a0a0a;
  color: #fff;
  min-height: 80vh;
}

.page-content h1 {
  font-size: 3rem;
  margin-bottom: 30px;
  color: #00d4ff;
}

.page-content h2 {
  font-size: 1.8rem;
  margin: 30px 0 15px;
  color: #fff;
}

.page-content h3 {
  font-size: 1.4rem;
  margin: 25px 0 10px;
  color: #00d4ff;
}

.page-content p {
  margin-bottom: 15px;
  line-height: 1.8;
  color: #b3b3b3;
}

.page-content ul {
  margin: 15px 0 15px 30px;
  color: #b3b3b3;
}

.page-content li {
  margin-bottom: 8px;
}

.page-section {
  display: none;
}

.page-section.active {
  display: block;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: -100px;
  left: 0;
  right: 0;
  background: rgba(26, 26, 46, 0.95);
  backdrop-filter: blur(20px);
  padding: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  z-index: 1001;
  transition: bottom 0.3s ease;
  max-height: 90vh;
  overflow-y: auto;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  -webkit-overflow-scrolling: touch;
}

.cookie-banner.show {
  bottom: 0;
}

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

.cookie-text {
  color: #b3b3b3;
  flex: 1;
  white-space: normal;
  word-break: break-word;
  overflow-wrap: anywhere;
  hyphens: auto;
}

.cookie-buttons {
  display: flex;
  gap: 10px;
}

.cookie-btn {
  padding: 8px 20px;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}

.cookie-accept {
  background: #00d4ff;
  color: #fff;
}

.cookie-decline {
  background: transparent;
  color: #888;
  border: 1px solid #444;
}

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

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 999;
    gap: 15px;
  }

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

  .nav-links li {
    width: 100%;
  }

  .nav-links a {
    display: block;
    padding: 15px 20px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
    transition: all 0.3s ease;
  }

  .nav-links a:hover,
  .nav-links a.active {
    background: rgba(0, 212, 255, 0.2);
    color: #00d4ff;
  }

  .mobile-menu {
    display: block;
    z-index: 1001;
  }

  .mobile-menu i {
    transition: transform 0.3s ease;
  }

  .hero h1 {
    font-size: 3rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .cookie-banner {
    padding: 15px;
  }

  .cookie-content {
    flex-direction: column;
    text-align: left;
    gap: 15px;
    max-width: none;
  }

  .cookie-text {
    font-size: 0.85rem;
    line-height: 1.5;
  }

  .cookie-buttons {
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
  }

  .cookie-btn {
    min-width: 100px;
    padding: 10px 20px;
    font-size: 0.85rem;
    flex: 1;
    max-width: 140px;
  }

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

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

@media (max-width: 480px) {
  .container {
    padding: 0 15px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

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

  .service-card {
    padding: 30px 20px;
  }

  .cookie-banner {
    padding: 12px;
  }

  .cookie-text {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .cookie-btn {
    min-width: 80px;
    padding: 8px 16px;
    font-size: 0.8rem;
  }
}
