* {
  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: #ffffff;
  background: #0a0a0f;
  overflow-x: hidden;
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: blur(10px);
  z-index: 1000;
  padding: 1rem 0;
  transition: all 0.3s ease;
}

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

.nav-logo span {
  font-size: 1.5rem;
  font-weight: 700;
  color: #00d4ff;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-menu a {
  color: #ffffff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

.nav-menu a:hover {
  color: #00d4ff;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: #00d4ff;
  transition: width 0.3s ease;
}

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

.contact-btn {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  color: white;
  border: none;
  padding: 10px 25px;
  text-decoration: none;
  border-radius: 25px;
  font-weight: 600;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s ease;
}

.contact-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #ffffff;
  margin: 3px 0;
  transition: 0.3s;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: radial-gradient(ellipse at center, #1a1a2e 0%, #0a0a0f 70%);
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.animated-lines {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(
      90deg,
      transparent 95%,
      rgba(0, 212, 255, 0.1) 100%
    ),
    linear-gradient(0deg, transparent 95%, rgba(0, 212, 255, 0.1) 100%);
  background-size: 100px 100px;
  animation: moveLines 20s linear infinite;
}

@keyframes moveLines {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(100px, 100px);
  }
}

.floating-elements {
  position: absolute;
  width: 100%;
  height: 100%;
}

.floating-elements::before,
.floating-elements::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  background: #00d4ff;
  border-radius: 50%;
  animation: float 6s ease-in-out infinite;
}

.floating-elements::before {
  top: 20%;
  left: 10%;
  animation-delay: -2s;
}

.floating-elements::after {
  top: 60%;
  right: 15%;
  animation-delay: -4s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

.hero-content {
  max-width: 800px;
  text-align: center;
  margin: 0 auto;
}

.hero-name {
  font-size: 5rem;
  font-weight: 900;
  letter-spacing: 8px;
  margin-bottom: 0.5rem;
  background: linear-gradient(135deg, #ffffff, #00d4ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
  from {
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
  }
  to {
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.8);
  }
}

.hero-surname {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: 4px;
}

.hero-title {
  font-size: 2rem;
  color: #00d4ff;
  font-weight: 600;
  margin-bottom: 2rem;
  letter-spacing: 2px;
}

.hero-description {
  font-size: 1.1rem;
  color: #b8b8b8;
  max-width: 600px;
  margin: 0 auto 3rem;
  line-height: 1.8;
}

.hero-buttons {
  display: flex;
  gap: 1.5rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.btn-primary {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  color: white;
  border: none;
  padding: 15px 70px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center o !important;
  gap: 10px;
}
.send {
  margin: auto;
}

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

.btn-secondary {
  background: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 15px 35px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  border-color: #00d4ff;
  color: #00d4ff;
  transform: translateY(-3px);
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 4rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 800;
  color: #00d4ff;
}

.stat-label {
  font-size: 0.9rem;
  color: #b8b8b8;
}

.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #b8b8b8;
  font-size: 0.9rem;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* Section Header */
.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #ffffff;
}

.section-header .highlight {
  color: #00d4ff;
}

.section-header p {
  font-size: 1.1rem;
  color: #b8b8b8;
  max-width: 600px;
  margin: 0 auto;
}

/* Services Section */
.services {
  padding: 6rem 0;
  position: relative;
}

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

.service-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2.5rem;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

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

.service-card:hover::before {
  left: 100%;
}

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

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  font-size: 2rem;
  color: white;
}

.service-card h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #ffffff;
}

.service-card p {
  color: #b8b8b8;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.service-link {
  color: #00d4ff;
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
}

.service-link:hover {
  transform: translateX(5px);
}

/* About Section */
.about {
  padding: 6rem 0;
  background: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
}

.about-content {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 4rem;
}

.about-image {
  position: relative;
  width: 100%;
}

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

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

.about-text p {
  color: #b8b8b8;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
}

.stats-grid {
  display: flex;
  justify-content: center;
  gap: 3rem;
  margin-top: 4rem;
}

.stat-circle {
  text-align: center;
}

.circle-progress {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: conic-gradient(
    #00d4ff 0deg,
    #00d4ff var(--progress, 0deg),
    rgba(255, 255, 255, 0.1) var(--progress, 0deg)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
}

.circle-progress::before {
  content: "";
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: #0a0a0f;
  position: absolute;
}

.circle-text {
  position: relative;
  z-index: 2;
  font-size: 1.2rem;
  font-weight: 700;
  color: #00d4ff;
}

.stat-circle span {
  color: #b8b8b8;
  font-size: 0.9rem;
}

/* Projects Section */
.projects {
  padding: 6rem 0;
}

.project-filter {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.1);
  color: #b8b8b8;
  padding: 10px 25px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 500;
}

.filter-btn.active,
.filter-btn:hover {
  border-color: #00d4ff;
  color: #00d4ff;
  background: rgba(0, 212, 255, 0.1);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.project-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

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

.project-image {
  position: relative;
  overflow: hidden;
  height: 250px;
}

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

.project-card:hover .project-image img {
  transform: scale(1.1);
}

.project-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.project-card:hover .project-overlay {
  opacity: 1;
}

.view-btn {
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  color: white;
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.view-btn:hover {
  transform: scale(1.1);
}

.project-info {
  padding: 1.5rem;
}

.project-category {
  color: #00d4ff;
  font-size: 0.9rem;
  font-weight: 600;
}

.project-info h3 {
  color: #ffffff;
  margin: 0.5rem 0;
  font-size: 1.3rem;
}

.project-date {
  color: #b8b8b8;
  font-size: 0.9rem;
}

/* Testimonials Section */
.testimonials {
  padding: 6rem 0;
  background: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 50%, #0a0a0f 100%);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
  gap: 2rem;
}

.testimonial-card {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 212, 255, 0.3);
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.client-info h4 {
  color: #ffffff;
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
}

.client-info span {
  color: #b8b8b8;
  font-size: 0.9rem;
}

.rating {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.rating i {
  color: #ffd700;
  font-size: 0.9rem;
}

.rating span {
  color: #ffffff;
  font-weight: 600;
  margin-left: 0.5rem;
}

.testimonial-card p {
  color: #b8b8b8;
  line-height: 1.7;
  font-style: italic;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-form {
  background: linear-gradient(
    145deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 3rem;
}

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

.form-group input,
.form-group textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  padding: 15px;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #00d4ff;
  box-shadow: 0 0 0 3px rgba(0, 212, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #888;
}

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

/* Footer */
.footer {
  background: #1a1a2e;
  padding: 3rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
}

.footer-info h3 {
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.footer-info p {
  color: #b8b8b8;
}

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

.social-links a {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #00d4ff, #0099cc);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
  color: #888;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    left: -100%;
    top: 70px;
    flex-direction: column;
    background-color: rgba(10, 10, 15, 0.98);
    width: 100%;
    text-align: center;
    transition: 0.3s;
    padding: 2rem 0;
  }
  .hero-content {
    margin-top: 0px;
  }
  .nav-menu.active {
    left: 0;
  }

  .hamburger {
    display: flex;
  }

  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .hero-name {
    font-size: 3rem;
    letter-spacing: 4px;
  }

  .hero-surname {
    font-size: 1.8rem;
    letter-spacing: 2px;
  }

  .hero-title {
    font-size: 1.5rem;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .scroll-down {
    display: none;
  }
  .hero-stats {
    /* flex-direction: column; */
    gap: 1rem;
  }

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

  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .stats-grid {
    flex-wrap: wrap;
    gap: 2rem;
  }

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

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

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

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

  .contact-form {
    padding: 2rem;
  }
}

@media (max-width: 480px) {
  .hero-name {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }

  .hero-surname {
    font-size: 1.5rem;
    letter-spacing: 1px;
  }

  .hero-title {
    font-size: 1.3rem;
  }

  .btn-primary,
  .btn-secondary {
    padding: 12px 25px;
    font-size: 0.9rem;
  }

  .service-card,
  .testimonial-card {
    padding: 1.5rem;
  }

  .contact-form {
    padding: 1.5rem;
  }

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

/* Reveal utility for staggered hero animations */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  animation: slideUpFade 700ms ease-out forwards;
  animation-delay: var(--reveal-delay, 0ms);
}

@keyframes slideUpFade {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Floating dots created dynamically */
.floating-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: absolute;
  background: rgba(0, 212, 255, 0.6);
}

/* Cursor trail dot */
.cursor-trail {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  position: fixed;
  pointer-events: none;
  z-index: 9999;
  background: rgba(0, 212, 255, 0.6);
  transform: translate(-50%, -50%);
  transition: all 0.25s ease-out;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .reveal, .floating-dot, .cursor-trail, .animated-lines {
    animation: none !important;
    transition: none !important;
  }
}

/* Typewriter caret */
.typewriter {
  display: inline-block;
  position: relative;
}
.typewriter.typing::after {
  content: '';
  position: absolute;
  right: -8px;
  top: 0.12em;
  width: 2px;
  height: 1em;
  background: #00d4ff;
  animation: caretBlink 800ms steps(1) infinite;
}

@keyframes caretBlink {
  0%, 50% { opacity: 1; }
  51%, 100% { opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .typewriter.typing::after { animation: none; }
}
