:root {
  --primary: #0ea5e9; /* sky-500 */
  --primary-dark: #0284c7; /* sky-600 */
  --primary-light: #38bdf8; /* sky-400 */
  --secondary: #8b5cf6; /* violet-500 */
  --accent: #f59e0b; /* amber-500 */
  --dark: #0f172a; /* slate-900 */
  --dark-800: #1e293b; /* slate-800 */
  --dark-700: #334155; /* slate-700 */
  --text: #1e293b; /* slate-800 */
  --text-light: #64748b; /* slate-500 */
  --surface: #ffffff;
  --surface-alt: #f8fafc; /* slate-50 */
  --border: #e2e8f0; /* slate-200 */
  --container: 1200px;
  --gradient-primary: linear-gradient(135deg, #0ea5e9 0%, #8b5cf6 100%);
  --gradient-accent: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
  --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 23, 42, 0.12);
  --shadow-lg: 0 10px 40px rgba(15, 23, 42, 0.15);
  --shadow-xl: 0 20px 60px rgba(15, 23, 42, 0.2);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Poppins', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--surface);
  overflow-x: hidden;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
}

h2 {
  font-size: clamp(28px, 5vw, 42px);
  margin-bottom: 16px;
}

h3 {
  font-size: clamp(18px, 3vw, 22px);
  margin-bottom: 12px;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 12px;
  display: inline-block;
}

.lead {
  font-size: clamp(18px, 2.5vw, 22px);
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.7;
}

.subhead {
  color: var(--text-light);
  font-size: 18px;
  margin-top: 12px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--dark);
  transition: transform 0.3s ease;
}

.brand:hover {
  transform: scale(1.02);
}

.logo-mark {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--gradient-primary);
  color: #fff;
  font-weight: 800;
  font-size: 16px;
  box-shadow: var(--shadow-sm);
}

.logo-text {
  font-weight: 700;
  font-size: 18px;
}

.nav {
  display: flex;
  gap: 32px;
  align-items: center;
}

.nav a {
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.3s ease;
  position: relative;
}

.nav a:not(.btn):hover {
  color: var(--primary);
}

.nav a:not(.btn)::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: width 0.3s ease;
}

.nav a:not(.btn):hover::after {
  width: 100%;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  padding: 12px 24px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn--sm {
  padding: 10px 20px;
  font-size: 14px;
}

.btn--lg {
  padding: 16px 32px;
  font-size: 16px;
  border-radius: 14px;
}

.btn--primary {
  background: var(--gradient-primary);
  color: #fff;
  box-shadow: var(--shadow-md);
}

.btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

.btn--outline {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  backdrop-filter: blur(10px);
}

.btn--outline:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: var(--dark);
  margin: 5px 0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hero */
.hero {
  position: relative;
  color: #fff;
  background: var(--dark);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
}

.hero__bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 20% 50%, rgba(14, 165, 233, 0.15) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%);
}

.hero__particles {
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
  opacity: 0.4;
}

.hero__content {
  position: relative;
  min-height: 85vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 24px;
  padding: 120px 24px 160px;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.hero h1 {
  font-size: clamp(32px, 6vw, 64px);
  line-height: 1.1;
  margin: 0;
  max-width: 1000px;
  font-family: 'Playfair Display', serif;
}

.hero__cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 12px;
}

.hero__stats {
  display: flex;
  gap: 48px;
  margin-top: 48px;
  flex-wrap: wrap;
  justify-content: center;
}

.stat {
  text-align: center;
}

.stat__value {
  font-size: clamp(32px, 5vw, 48px);
  font-weight: 800;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}

.stat__label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 8px;
  font-weight: 500;
}

.hero__wave {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  width: 100%;
  height: 120px;
  fill: var(--surface);
}

/* Sections */
.section {
  padding: 100px 0;
}

.section--center {
  text-align: center;
}

.section--alt {
  background: var(--surface-alt);
}

.section--dark {
  background: var(--dark);
  color: #fff;
}

.section--dark .eyebrow {
  color: var(--primary-light);
}

.section--dark .subhead {
  color: rgba(255, 255, 255, 0.7);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 32px;
  margin-top: 60px;
}

.service-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 32px;
  transition: all 0.4s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
  transform: scaleX(0);
  transition: transform 0.4s ease;
}

.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: transparent;
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card__icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  border-radius: 16px;
  margin-bottom: 24px;
  color: #fff;
}

.service-card__icon svg {
  width: 32px;
  height: 32px;
}

.service-card h3 {
  margin-bottom: 16px;
  font-size: 22px;
}

.service-card > p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.7;
}

.service-features {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-light);
}

.service-features li::before {
  content: '✓';
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: var(--gradient-primary);
  color: #fff;
  border-radius: 50%;
  font-size: 12px;
  flex-shrink: 0;
}

/* About Section */
.about-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 60px;
  align-items: center;
}

.about-text p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 20px;
  font-size: 17px;
  line-height: 1.8;
}

.about-awards {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.award {
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 14px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.about-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.image-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: var(--gradient-primary);
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-xl);
}

.image-placeholder svg {
  width: 120px;
  height: 120px;
  color: rgba(255, 255, 255, 0.5);
}

/* Portfolio Grid */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.portfolio-card {
  background: var(--surface);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all 0.4s ease;
}

.portfolio-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.portfolio-card__image {
  width: 100%;
  height: 240px;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #0ea5e9, #8b5cf6);
}

.portfolio-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.portfolio-card:hover .portfolio-card__image img {
  transform: scale(1.1);
}

.portfolio-card__content {
  padding: 28px;
}

.portfolio-card__content h3 {
  margin-bottom: 12px;
  font-size: 20px;
}

.portfolio-card__content p {
  color: var(--text-light);
  margin-bottom: 20px;
  line-height: 1.6;
}

.portfolio-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.portfolio-tags span {
  padding: 6px 14px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
}

/* CTA Section */
.cta-section {
  background: var(--gradient-primary);
  color: #fff;
  text-align: center;
}

.cta-content h2 {
  font-size: clamp(28px, 5vw, 48px);
  margin-bottom: 20px;
  font-family: 'Playfair Display', serif;
}

.cta-content > p {
  font-size: 18px;
  max-width: 800px;
  margin: 0 auto 40px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.7;
}

.cta-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 24px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.cta-feature {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  font-weight: 600;
}

.cta-feature svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

/* Footer */
.site-footer {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 80px 0 0;
}

.footer-main {
  display: grid;
  grid-template-columns: 1.5fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--dark-700);
}

.footer-brand {
  max-width: 400px;
}

.footer-brand p {
  margin: 20px 0;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.brand--footer .logo-mark {
  background: var(--gradient-primary);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 24px;
}

.social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: var(--primary);
  transform: translateY(-2px);
}

.social-links svg {
  width: 20px;
  height: 20px;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
}

.footer-column a {
  display: block;
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: var(--primary-light);
  padding-left: 4px;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 20px;
}

.copyright {
  margin: 0;
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
}

.footer-legal {
  display: flex;
  gap: 24px;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--primary-light);
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-content {
    grid-template-columns: 1fr;
  }
  
  .footer-main {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .site-header .container {
    height: 70px;
  }
  
  .logo-text {
    font-size: 14px;
  }
  
  .logo-mark {
    width: 36px;
    height: 36px;
    font-size: 14px;
  }
  
  .nav {
    position: fixed;
    top: 70px;
    left: 0;
    right: 0;
    background: var(--surface);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }
  
  .nav a {
    padding: 12px 0;
    width: 100%;
  }
  
  .nav.is-open {
    max-height: 400px;
  }
  
  .nav-toggle {
    display: block;
  }
  
  .hero__content {
    padding: 80px 24px 120px;
  }
  
  .hero__stats {
    gap: 32px;
  }
  
  .hero__cta {
    flex-direction: column;
    width: 100%;
  }
  
  .hero__cta .btn {
    width: 100%;
  }
  
  .services-grid {
    grid-template-columns: 1fr;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .cta-features {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  .section {
    padding: 60px 0;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }
  
  .hero h1 {
    font-size: 28px;
  }
  
  .lead {
    font-size: 16px;
  }
  
  .service-card {
    padding: 28px 20px;
  }
}
