:root {
  --bg: #0b0f1a;
  --primary: #7c3aed;
  --secondary: #06b6d4;
  --text: #e5e7eb;
  --muted: #9ca3af;
  --card: rgba(255, 255, 255, 0.04);
}

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

body {
  font-family: 'Inter', sans-serif;
  background: radial-gradient(circle at 10% 10%, rgba(124, 58, 237, 0.15), transparent 40%),
              radial-gradient(circle at 90% 90%, rgba(6, 182, 212, 0.12), transparent 40%),
              var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
}

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

/* Header */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 60px;
}

.logo {
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 1px;
}

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 25px;
  font-size: 14px;
  transition: 0.3s;
}

nav a:hover {
  color: white;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero p {
  color: var(--muted);
  margin-bottom: 30px;
  font-size: 16px;
}

/* Button */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(124, 58, 237, 0.4);
}

/* Card */
.card {
  background: var(--card);
  padding: 30px;
  border-radius: 20px;
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

/* Stats */
.stats {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}

.stat {
  text-align: center;
}

.stat h3 {
  font-size: 26px;
}

.stat p {
  color: var(--muted);
  font-size: 13px;
}

/* Sections */
section {
  margin-top: 100px;
}

section h2 {
  text-align: center;
  font-size: 32px;
  margin-bottom: 50px;
}

/* Services */
.services {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--card);
  padding: 25px;
  border-radius: 18px;
  transition: 0.3s;
}

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

.service-card h4 {
  margin-bottom: 12px;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
}

/* Portfolio */
.portfolio {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.portfolio img {
  width: 100%;
  border-radius: 16px;
  height: 220px;
  object-fit: cover;
  transition: 0.3s;
}

.portfolio img:hover {
  transform: scale(1.05);
}

/* CTA Section */
.cta {
  text-align: center;
  background: linear-gradient(135deg, rgba(124, 58, 237, 0.15), rgba(6, 182, 212, 0.15));
  padding: 60px 20px;
  border-radius: 25px;
  margin-top: 80px;
}

.contact-info {
  margin: 30px 0;
  font-size: 16px;
}

.contact-info p {
  margin: 10px 0;
  color: var(--text);
}

.contact-info a {
  color: var(--secondary);
  text-decoration: none;
  transition: 0.3s;
}

.contact-info a:hover {
  color: var(--primary);
}

/* Footer */
footer {
  text-align: center;
  margin-top: 80px;
  color: var(--muted);
  font-size: 14px;
  padding-bottom: 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .services {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .portfolio {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  header {
    flex-direction: column;
    gap: 20px;
  }
  
  nav a {
    margin: 0 10px;
  }
  
  .hero h1 {
    font-size: 34px;
  }
  
  .services {
    grid-template-columns: 1fr;
  }
  
  .portfolio {
    grid-template-columns: 1fr;
  }
  
  .stats {
    flex-direction: column;
    gap: 20px;
  }
}
