:root {
  --primary-light: #4f46e5;
  --primary: #3730a3;
  --primary-dark: #312e81;
  --accent: #06b6d4;
  --text: #1e293b;
  --text-light: #64748b;
  --background: #ffffff;
  --background-alt: #f8fafc;
  --gradient-primary: linear-gradient(135deg, var(--primary-light), var(--primary-dark));
  --gradient-accent: linear-gradient(135deg, var(--accent), var(--primary-light));
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --transition: all 0.3s ease;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
  color: var(--text);
  line-height: 1.6;
  background-color: var(--background);
  overflow-x: hidden;
  position: relative;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

/* Animated Background */
.animated-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  overflow: hidden;
  opacity: 0.05;
}

.line {
  position: absolute;
  background: var(--gradient-primary);
  border-radius: 50%;
}

.line-1 {
  width: 80vw;
  height: 80vw;
  top: -40vw;
  left: -20vw;
  animation: float 25s infinite alternate ease-in-out;
}

.line-2 {
  width: 60vw;
  height: 60vw;
  bottom: -30vw;
  right: -20vw;
  animation: float 20s infinite alternate-reverse ease-in-out;
}

.line-3 {
  width: 40vw;
  height: 40vw;
  top: 50%;
  right: -20vw;
  animation: float 30s infinite alternate ease-in-out;
}

.line-4 {
  width: 30vw;
  height: 30vw;
  bottom: 10%;
  left: 20%;
  animation: float 18s infinite alternate-reverse ease-in-out;
}

.line-5 {
  width: 25vw;
  height: 25vw;
  top: 20%;
  left: 60%;
  animation: float 22s infinite alternate ease-in-out;
}

@keyframes float {
  0% {
    transform: translateY(0) rotate(0deg);
  }
  100% {
    transform: translateY(100px) rotate(10deg);
  }
}

/* Header */
header {
  padding: 2rem 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 10;
}

.logo-container {
  display: flex;
  align-items: center;
}

.logo-placeholder {
  width: 3.5rem;
  height: 3.5rem;
  background: var(--gradient-primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 1.5rem;
  box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: var(--background);
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--gradient-primary);
  opacity: 0.03;
  z-index: 1;
}

.hero h1 {
  font-size: 5rem;
  font-weight: 700;
  letter-spacing: -0.05em;
  margin-bottom: 0.5rem;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: fadeIn 1s ease-out;
}

.hero h2 {
  font-size: 2.5rem;
  font-weight: 600;
  color: var(--text-light);
  letter-spacing: -0.025em;
  animation: fadeIn 1s ease-out 0.3s forwards;
  opacity: 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Sections */
section {
  padding: 6rem 0;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  letter-spacing: -0.025em;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 0;
  width: 3rem;
  height: 0.25rem;
  background: var(--gradient-accent);
  border-radius: 1rem;
}

/* About Section */
.about {
  background-color: var(--background);
}

.about-text {
  font-size: 1.25rem;
  line-height: 1.8;
  color: var(--text-light);
  max-width: 800px;
}

/* Services Section */
.services {
  background-color: var(--background-alt);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 2rem;
}

@media (min-width: 640px) {
  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .service-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.service-card {
  background: var(--background);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 0.25rem;
  background: var(--gradient-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 3rem;
  height: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.service-card p {
  font-size: 1rem;
  color: var(--text-light);
  flex-grow: 1;
}

/* Contact Section */
.contact {
  background-color: var(--background);
}

.contact-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.contact-item svg {
  width: 1.5rem;
  height: 1.5rem;
  color: var(--primary);
}

.contact-item a {
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
  transition: var(--transition);
}

.contact-item a:hover {
  color: var(--primary-light);
}

.contact-item p {
  color: var(--text-light);
}

/* Footer */
footer {
  background-color: var(--primary-dark);
  color: white;
  padding: 2rem 0;
  text-align: center;
}

footer p {
  opacity: 0.8;
  font-size: 0.875rem;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 3.5rem;
  }
  
  .hero h2 {
    font-size: 1.75rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-text {
    font-size: 1.125rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero h2 {
    font-size: 1.5rem;
  }
  
  .section-title {
    font-size: 1.75rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
}

/* Animation Classes */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}