/* Reset & Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  line-height: 1.6;
  color: #2c2c2c;
  background: #ffeedc;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Typography */
h1 {
  font-size: 3.5rem;
  font-weight: 200;
  letter-spacing: -0.02em;
  line-height: 1.1;
}

h2 {
  font-size: 2.5rem;
  font-weight: 300;
  letter-spacing: -0.01em;
  margin-bottom: 2rem;
  text-align: center;
}

h3 {
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.5rem;
}

h4 {
  font-size: 1rem;
  font-weight: 400;
  color: #6b6b6b;
  margin-top: 1rem;
}

p {
  font-size: 1.1rem;
  color: #4a4a4a;
  margin-bottom: 1rem;
}

.highlight {
  color: #2c2c2c;
  font-weight: 400;
}

.section-subtitle {
  text-align: center;
  font-size: 1.2rem;
  color: #6b6b6b;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 238, 220, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  border-bottom: 1px solid rgba(44, 44, 44, 0.08);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.logo img {
  height: 40px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #2c2c2c;
  font-weight: 400;
  font-size: 0.95rem;
  position: relative;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -5px;
  left: 0;
  background: #2c2c2c;
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #2c2c2c;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 2rem;
  position: relative;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
  animation: float 6s ease-in-out infinite;
}

.floating-1 {
  width: 100px;
  height: 100px;
  background: linear-gradient(45deg, #2c2c2c, rgba(44, 44, 44, 0.5));
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.floating-2 {
  width: 60px;
  height: 60px;
  background: linear-gradient(45deg, rgba(44, 44, 44, 0.3), rgba(44, 44, 44, 0.1));
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.floating-3 {
  width: 80px;
  height: 80px;
  background: linear-gradient(45deg, rgba(44, 44, 44, 0.2), rgba(44, 44, 44, 0.05));
  bottom: 30%;
  left: 20%;
  animation-delay: 4s;
}

.floating-4 {
  width: 40px;
  height: 40px;
  background: linear-gradient(45deg, rgba(44, 44, 44, 0.15), rgba(44, 44, 44, 0.03));
  top: 30%;
  right: 25%;
  animation-delay: 1s;
}

.floating-5 {
  width: 120px;
  height: 120px;
  background: linear-gradient(45deg, rgba(44, 44, 44, 0.08), rgba(44, 44, 44, 0.02));
  bottom: 15%;
  right: 10%;
  animation-delay: 3s;
}

.floating-6 {
  width: 50px;
  height: 50px;
  background: linear-gradient(45deg, rgba(44, 44, 44, 0.12), rgba(44, 44, 44, 0.04));
  top: 70%;
  left: 15%;
  animation-delay: 5s;
}

.floating-7 {
  width: 70px;
  height: 70px;
  background: linear-gradient(45deg, rgba(44, 44, 44, 0.18), rgba(44, 44, 44, 0.06));
  top: 45%;
  left: 5%;
  animation-delay: 2.5s;
}

.floating-8 {
  width: 35px;
  height: 35px;
  background: linear-gradient(45deg, rgba(44, 44, 44, 0.25), rgba(44, 44, 44, 0.08));
  bottom: 50%;
  right: 30%;
  animation-delay: 6s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-content h1 {
  margin-bottom: 1.5rem;
}

.hero-content p {
  font-size: 1.3rem;
  margin-bottom: 3rem;
  color: #6b6b6b;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  background: #2c2c2c;
  color: #ffeedc;
  padding: 1.2rem 2.8rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 500;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(44, 44, 44, 0.2);
}

.cta-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(44, 44, 44, 0.3);
}

/* Shape Dividers */
.shape-divider {
  position: relative;
  width: 100%;
  height: 120px;
  overflow: hidden;
}

.shape-divider svg {
  width: 100%;
  height: 100%;
  display: block;
}

.shape-divider.reverse {
  transform: rotate(180deg);
}

/* Animations */
.fade-in-up, .fade-in-left, .fade-in-right {
  opacity: 0;
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-up {
  transform: translateY(50px);
}

.fade-in-left {
  transform: translateX(-50px);
}

.fade-in-right {
  transform: translateX(50px);
}

.fade-in-up.animate, .fade-in-left.animate, .fade-in-right.animate {
  opacity: 1;
  transform: translate(0, 0);
}

/* Services Section */
.services {
  padding: 4rem 0;
  background: white;
  position: relative;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: linear-gradient(145deg, #ffffff, #f8f8f8);
  border-radius: 25px;
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(44, 44, 44, 0.08);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-15px) scale(1.02);
  box-shadow: 0 25px 60px rgba(44, 44, 44, 0.15);
  background: linear-gradient(145deg, #ffffff, #ffffff);
}

.service-icon {
  width: 180px;
  height: 180px;
  margin: 0 auto 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  box-shadow: 0 15px 35px rgba(44, 44, 44, 0.1);
  transition: all 0.4s ease;
  position: relative;
  z-index: 2;
  border: 2px solid rgba(44, 44, 44, 0.05);
}

.service-icon::after {
  content: '';
  position: absolute;
  top: -3px;
  left: -3px;
  right: -3px;
  bottom: -3px;
  background: linear-gradient(135deg, #ffeedc, #ffffff);
  border-radius: 50%;
  z-index: -1;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.service-card:hover .service-icon::after {
  opacity: 1;
}

.service-card:hover .service-icon {
  transform: scale(1.1);
  box-shadow: 0 20px 50px rgba(44, 44, 44, 0.2);
  background: rgba(255, 255, 255, 1);
}

.service-icon img {
  width: 100px;
  height: 100px;
  transition: all 0.3s ease;
}

.service-card h3 {
  margin-bottom: 1rem;
  color: #2c2c2c;
  font-size: 1.3rem;
  font-weight: 500;
  position: relative;
  z-index: 2;
}

.service-card p {
  margin-bottom: 1.5rem;
  color: #6b6b6b;
  line-height: 1.7;
  font-size: 1rem;
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  align-items: center;
}

.price {
  display: inline-block;
  background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
  color: #ffffff;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 8px 25px rgba(44, 44, 44, 0.2);
  transition: all 0.3s ease;
  position: relative;
  z-index: 2;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.service-card:hover .price {
  background: linear-gradient(135deg, #1a1a1a, #2c2c2c);
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(44, 44, 44, 0.3);
}

/* Projects Section */
.projects {
  padding: 4rem 0;
  background: #ffeedc;
  position: relative;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 4rem;
  margin-top: 2rem;
}

.projects-grid .project-mockup:nth-child(3) {
  grid-column: span 2;
  max-width: calc(50% - 2rem);
  margin: 0 auto;
}

.project-mockup {
  text-align: center;
}

.project-screenshot {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  box-shadow: 0 20px 60px rgba(44, 44, 44, 0.15);
  transition: all 0.5s ease;
  position: relative;
  background: #111;
  cursor: pointer;
  text-decoration: none;
}

.project-screenshot::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    0deg, 
    transparent, 
    transparent 30%, 
    rgba(44, 44, 44, 0.4)
  );
  transform: rotate(-45deg);
  transition: all 0.5s ease;
  opacity: 0;
  z-index: 1;
  pointer-events: none;
}

.project-screenshot:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 0 30px rgba(44, 44, 44, 0.3);
}

.project-screenshot:hover::before {
  opacity: 1;
  transform: rotate(-45deg) translateY(100%);
}

.project-screenshot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.3s ease;
  position: relative;
  z-index: 0;
}

.project-mockup:nth-child(3) .project-screenshot img {
  object-position: center center;
}

.mockup-placeholder {
  color: #9b9b9b;
  font-size: 1.1rem;
  font-weight: 400;
}

/* Process Section */
.process {
  padding: 4rem 0;
  background: white;
  position: relative;
}

.timeline-flow {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 1rem;
  margin-top: 2rem;
}

.step {
  text-align: center;
  padding: 1rem;
  flex: 1;
  min-width: 150px;
}

.step-icon {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 100%);
  border: 3px solid #2c2c2c;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  box-shadow: 
    0 20px 40px rgba(44, 44, 44, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.8),
    inset 0 1px 0 rgba(255, 255, 255, 0.9);
  position: relative;
  transition: all 0.3s ease;
}

.step-icon::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  bottom: -2px;
  border-radius: 50%;
  z-index: -1;
}

.step-icon:hover {
  transform: translateY(-5px) scale(1.05);
  box-shadow: 
    0 25px 50px rgba(44, 44, 44, 0.15),
    0 0 0 1px rgba(255, 255, 255, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 1);
}

.step-icon img {
  width: 40px;
  height: 40px;
}

.step-emoji {
  font-size: 2.5rem;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

.step-content h3 {
  margin-bottom: 0.5rem;
  color: #2c2c2c;
}

.step-content p {
  color: #6b6b6b;
  line-height: 1.6;
  font-size: 1rem;
}

.connector {
  width: 80px;
  height: 60px;
  flex-shrink: 0;
}

.connector svg {
  width: 100%;
  height: 100%;
}

/* Contact Section */
.contact {
  padding: 6rem 0;
  background: linear-gradient(135deg, #ffeedc 0%, #f5e6d3 100%);
  position: relative;
  overflow: hidden;
}

.contact::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(44, 44, 44, 0.03) 1px, transparent 1px);
  background-size: 30px 30px;
  animation: float 20s linear infinite;
}

.contact .container {
  position: relative;
  z-index: 2;
}

.contact h2 {
  text-align: center;
  font-size: 3rem;
  margin-bottom: 1rem;
  background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: #6b6b6b;
  margin-bottom: 4rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}

.contact-info {
  padding: 0;
}

.contact-info h3 {
  font-size: 1.8rem;
  margin-bottom: 2rem;
  color: #2c2c2c;
  font-weight: 500;
}

.contact-info p {
  font-size: 1.2rem;
  line-height: 1.8;
  margin-bottom: 3rem;
  color: #4a4a4a;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 15px;
  border: 1px solid rgba(44, 44, 44, 0.05);
  transition: all 0.3s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.9);
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(44, 44, 44, 0.1);
}

.contact-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, #2c2c2c, #1a1a1a);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: #ffeedc;
  flex-shrink: 0;
}

.contact-text {
  flex: 1;
}

.contact-text strong {
  display: block;
  color: #2c2c2c;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.3rem;
}

.contact-text a {
  color: #4a4a4a;
  text-decoration: none;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.contact-text a:hover {
  color: #2c2c2c;
}

.contact-text span {
  color: #4a4a4a;
  font-size: 1.1rem;
  transition: color 0.3s ease;
}

.contact-form {
  background: rgba(255, 255, 255, 0.95);
  padding: 3rem;
  border-radius: 30px;
  box-shadow: 
    0 30px 60px rgba(44, 44, 44, 0.1),
    0 0 0 1px rgba(255, 255, 255, 0.5);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-form h3 {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: #2c2c2c;
  text-align: center;
  font-weight: 500;
}

.form-group {
  margin-bottom: 2rem;
  position: relative;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #2c2c2c;
  font-weight: 500;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 1.2rem 1.5rem;
  border: 2px solid rgba(44, 44, 44, 0.08);
  border-radius: 15px;
  font-family: inherit;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.8);
  transition: all 0.3s ease;
  resize: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #2c2c2c;
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 0 3px rgba(44, 44, 44, 0.1);
  transform: translateY(-2px);
}

.contact-form textarea {
  min-height: 120px;
}

.submit-btn {
  width: 100%;
  background: linear-gradient(135deg, #2c2c2c 0%, #1a1a1a 100%);
  color: #ffeedc;
  border: none;
  padding: 1.3rem 2rem;
  border-radius: 15px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
}

.submit-btn::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 ease;
}

.submit-btn:hover::before {
  left: 100%;
}

.submit-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(44, 44, 44, 0.3);
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
}

.submit-btn:active {
  transform: translateY(-1px);
}

#form-message {
  margin-top: 1.5rem;
  text-align: center;
  font-weight: 500;
  padding: 1rem;
  border-radius: 10px;
}

.success-message {
  background: rgba(76, 175, 80, 0.1);
  color: #4caf50;
  border: 1px solid rgba(76, 175, 80, 0.2);
}

.error-message {
  background: rgba(244, 67, 54, 0.1);
  color: #f44336;
  border: 1px solid rgba(244, 67, 54, 0.2);
}

/* Footer */
.footer {
  background: #2c2c2c;
  color: #ffeedc;
  padding: 2rem 0;
  text-align: center;
}

.footer p {
  color: rgba(255, 238, 220, 0.8);
  margin: 0;
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .timeline-flow {
    flex-direction: column;
    align-items: center;
  }
  
  .connector {
    transform: rotate(90deg);
    width: 60px;
    height: 100px;
  }
  
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
  }
  
  .nav-links {
    gap: 1.5rem;
  }
  
  .hero {
    padding-top: 10rem;
    min-height: 80vh;
  }
  
  h1 {
    font-size: 2.5rem;
  }
  
  h2 {
    font-size: 2rem;
  }
  
  .hero-content p {
    font-size: 1.1rem;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .service-icon {
    width: 120px;
    height: 120px;
  }
  
  .service-icon img {
    width: 70px;
    height: 70px;
  }
  
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .projects-grid .project-mockup:nth-child(3) {
    grid-column: span 1;
    max-width: none;
  }
  
  .services,
  .projects,
  .process,
  .contact {
    padding: 3rem 0;
  }
  
  .container {
    padding: 0 1rem;
  }
  
  .floating-1,
  .floating-2,
  .floating-3,
  .floating-4,
  .floating-5,
  .floating-6,
  .floating-7,
  .floating-8 {
    display: none;
  }
}

@media (max-width: 480px) {
  h1 {
    font-size: 2rem;
  }
  
  .cta-button {
    padding: 1rem 2rem;
    font-size: 1rem;
  }
  
  .service-card,
  .contact-form {
    padding: 2rem 1.5rem;
  }
  
  .nav-links {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }
  
  .step {
    min-width: 150px;
  }
  
  .contact-wrapper {
    gap: 2rem;
  }
}