:root {
  --primary: #4f46e5;
  --primary-dark: #4338ca;
  --text: #1f2937;
  --muted: #6b7280;
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --radius: 12px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
}

h1, h2, h3 {
  line-height: 1.2;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.center {
  text-align: center;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #e5e7eb;
  z-index: 10;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
}

.logo span {
  color: var(--primary);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-weight: 500;
}

.nav-links a:hover {
  color: var(--primary);
}

/* Hero */
.hero {
  padding: 7rem 0 6rem;
  text-align: center;
  background: linear-gradient(135deg, #eef2ff 0%, #ffffff 60%);
}

.eyebrow {
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  max-width: 750px;
  margin: 0 auto 1rem;
}

.lead {
  color: var(--muted);
  font-size: 1.15rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  border: 2px solid var(--primary);
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s, color 0.2s;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline {
  background: transparent;
  color: var(--primary);
}

.btn-outline:hover {
  background: var(--primary);
  color: #fff;
}

/* Sections */
.section {
  padding: 5rem 0;
}

.section-alt {
  background: var(--bg-alt);
}

/* About */
.about {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 3rem;
  align-items: center;
}

.about p {
  color: var(--muted);
  margin-bottom: 1rem;
}

.stats {
  display: grid;
  gap: 1rem;
}

.stat {
  background: var(--bg-alt);
  border-radius: var(--radius);
  padding: 1.2rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stat strong {
  font-size: 1.8rem;
  color: var(--primary);
}

.stat span {
  color: var(--muted);
}

/* Services */
.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.2s;
}

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

.card .icon {
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 0.8rem;
}

.card h3 {
  margin-bottom: 0.5rem;
}

.card p {
  color: var(--muted);
}

/* Work gallery */
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.tile {
  aspect-ratio: 4 / 3;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: 1.2rem;
  color: #fff;
  font-weight: 700;
  font-size: 1.1rem;
}

.tile-1 { background: linear-gradient(135deg, #f59e0b, #b45309); }
.tile-2 { background: linear-gradient(135deg, #10b981, #047857); }
.tile-3 { background: linear-gradient(135deg, #3b82f6, #1d4ed8); }
.tile-4 { background: linear-gradient(135deg, #ec4899, #9d174d); }

/* Contact */
.contact > p {
  color: var(--muted);
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 560px;
  margin: 0 auto;
  display: grid;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font: inherit;
  background: #fff;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

/* Footer */
.footer {
  background: var(--text);
  color: #d1d5db;
  text-align: center;
  padding: 1.5rem 0;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 720px) {
  .nav-links {
    gap: 1rem;
    font-size: 0.9rem;
  }

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

  .hero {
    padding: 5rem 0 4rem;
  }
}
