:root {
  --primary: #6E4EFF;
  --bg-color: #FFFFFF;
  --secondary-bg: #F8F9FC;
  --text-primary: #222222;
  --text-secondary: #555555;
  --border-color: #ECECEC;
  --border-radius: 8px;
  --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --transition: all 0.3s ease;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 12px 32px rgba(0, 0, 0, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-family); background-color: var(--bg-color);
  color: var(--text-primary); line-height: 1.6; -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; transition: var(--transition); }
ul { list-style: none; }

/* Utilities */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.text-center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; } .mt-6 { margin-top: 48px; }
.mb-6 { margin-bottom: 48px; } .mb-8 { margin-bottom: 64px; }
.py-12 { padding: 96px 0; }
.bg-secondary { background-color: var(--secondary-bg); }

/* Typography */
h1, h2, h3, h4, h5, h6 { font-weight: 700; line-height: 1.2; letter-spacing: -0.02em; }
h1 { font-size: 3.5rem; } h2 { font-size: 2.5rem; } h3 { font-size: 1.5rem; }
.section-title { font-size: 2.5rem; margin-bottom: 16px; }
.section-subtitle {
  color: var(--primary); font-weight: 600; text-transform: uppercase;
  letter-spacing: 0.1em; font-size: 0.875rem; margin-bottom: 12px; display: block;
}
.section-desc { color: var(--text-secondary); font-size: 1.125rem; max-width: 600px; margin: 0 auto 48px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 28px; border-radius: var(--border-radius); font-weight: 600;
  font-size: 1rem; cursor: pointer; transition: var(--transition); border: none;
}
.btn-primary { background-color: var(--primary); color: white; }
.btn-primary:hover { background-color: #5538d6; transform: translateY(-2px); box-shadow: var(--shadow-md); }
.btn-secondary { background-color: white; color: var(--text-primary); border: 1px solid var(--border-color); }
.btn-secondary:hover { border-color: var(--primary); color: var(--primary); transform: translateY(-2px); }

/* Topbar */
.topbar {
  background-color: var(--primary);
  color: white;
  font-size: 0.8125rem;
  padding: 8px 0;
  position: relative;
  z-index: 1001;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 24px;
}
.topbar a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.9);
}
.topbar a:hover {
  color: white;
}
.topbar-social {
  display: flex;
  gap: 16px;
}

/* Navbar */
.navbar { position: absolute; top: 35px; left: 0; width: 100%; padding: 24px 0; z-index: 1000; transition: all 0.4s ease; background: transparent; }
.navbar.scrolled {
  position: fixed; top: 0; left: 0; width: 100%; transform: none; max-width: none;
  background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  padding: 16px 0; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12); border: none; border-bottom: 1px solid var(--border-color); border-radius: 0;
}
.navbar .container { display: flex; justify-content: space-between; align-items: center; }
.nav-brand { font-size: 1.5rem; font-weight: 700; display: flex; align-items: center; gap: 8px; }
.nav-brand img { height: 32px; }
.nav-links { display: flex; gap: 32px; align-items: center; }
.nav-links a { font-weight: 500; color: var(--text-primary); font-size: 0.9375rem; transition: var(--transition); }
.navbar:not(.scrolled) .nav-links a.nav-link, .navbar:not(.scrolled) .nav-brand { color: white; }
.navbar.scrolled .nav-links a.nav-link:hover { color: var(--primary); }
.navbar:not(.scrolled) .nav-links a.nav-link:hover { opacity: 0.8; }
.mobile-menu-btn { display: none; font-size: 1.5rem; background: none; border: none; cursor: pointer; }
.navbar:not(.scrolled) .mobile-menu-btn { color: white; }

/* Hero Section */
.hero {
  padding: 180px 0 100px;
  background: linear-gradient(135deg, #1A1A2E 0%, #0F0F1A 100%);
  color: white; overflow: hidden; position: relative;
}
.hero .container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.hero-label {
  display: inline-block; padding: 6px 12px; background: rgba(110, 78, 255, 0.2);
  color: #a491ff; border-radius: 20px; font-size: 0.875rem; font-weight: 600; margin-bottom: 24px;
}
.hero-content h1 { margin-bottom: 24px; font-size: 3.5rem; }
.hero-content p { font-size: 1.25rem; color: rgba(255, 255, 255, 0.7); margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; }
.hero-btn-secondary { background: transparent; border: 1px solid rgba(255,255,255,0.3); color: white; }
.hero-btn-secondary:hover { background: white; color: #0F0F1A; border-color: white; }
.hero-image-wrapper img {
  width: 100%; border-radius: 12px;
  box-shadow: 0 24px 48px rgba(0,0,0,0.5);
}

/* Trusted By Strip */
.client-strip {
  background: white; padding: 40px 0; border-bottom: 1px solid var(--border-color);
  text-align: center;
}
.client-strip p { color: var(--text-secondary); font-size: 0.875rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 24px; }
.client-logos { display: flex; justify-content: center; gap: 64px; align-items: center; flex-wrap: wrap; }
.client-logos img { height: 40px; filter: grayscale(100%) opacity(0.6); transition: var(--transition); }
.client-logos img:hover { filter: grayscale(0%) opacity(1); }

/* Approach / Methodology */
.approach-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; margin-bottom: 80px;
}
.approach-block.reverse { direction: rtl; }
.approach-block.reverse > * { direction: ltr; }
.approach-block:last-child { margin-bottom: 0; }
.step-number {
  font-size: 3rem; font-weight: 700; color: rgba(110, 78, 255, 0.1); margin-bottom: 8px; line-height: 1;
}
.approach-content h3 { font-size: 2rem; margin-bottom: 16px; }
.approach-content p { color: var(--text-secondary); font-size: 1.125rem; margin-bottom: 24px; }
.approach-list li { margin-bottom: 12px; font-weight: 500; display: flex; align-items: center; gap: 12px; }
.approach-list i { color: var(--primary); }
.approach-image img { width: 100%; border-radius: 12px; box-shadow: var(--shadow-md); }

/* Capabilities (Bento Box) */
.capabilities-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.capability-card {
  background: var(--secondary-bg); padding: 40px; border-radius: 16px;
  border: 1px solid var(--border-color); transition: var(--transition);
}
.capability-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); background: white; border-color: var(--primary); }
.bento-large { grid-column: span 2; }
.bento-small { grid-column: span 1; }
.cap-icon {
  width: 48px; height: 48px; background: rgba(110, 78, 255, 0.1); color: var(--primary);
  border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 24px;
}
.capability-card h3 { font-size: 1.5rem; margin-bottom: 16px; }
.capability-card p { color: var(--text-secondary); }

/* Case Studies */
.featured-case {
  display: grid; grid-template-columns: 3fr 2fr; gap: 48px; align-items: center;
  background: white; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
}
.featured-case-image img { width: 100%; height: 100%; object-fit: cover; min-height: 400px; }
.featured-case-content { padding: 48px 48px 48px 0; }
.portfolio-tag {
  background: rgba(110, 78, 255, 0.1); color: var(--primary); padding: 6px 16px;
  border-radius: 20px; font-size: 0.75rem; font-weight: 600; display: inline-block; margin-bottom: 16px;
}
.featured-case-content h3 { font-size: 2rem; margin-bottom: 8px; }
.client-name { font-weight: 600; color: var(--text-primary); margin-bottom: 16px; font-size: 1.125rem; }
.featured-case-content p:not(.client-name) { color: var(--text-secondary); margin-bottom: 24px; }

.portfolio-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.portfolio-card {
  background: white; border-radius: 12px; overflow: hidden; border: 1px solid var(--border-color);
  transition: var(--transition);
}
.portfolio-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.portfolio-img { width: 100%; height: 260px; object-fit: cover; border-bottom: 1px solid var(--border-color); }
.portfolio-content { padding: 32px; }
.portfolio-content h3 { font-size: 1.5rem; margin-bottom: 8px; }
.portfolio-content p:not(.client-name) { color: var(--text-secondary); }

/* Industries Pills */
.industry-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; max-width: 900px; margin: 0 auto; }
.pill {
  padding: 12px 24px; background: var(--secondary-bg); border: 1px solid var(--border-color);
  border-radius: 30px; font-weight: 500; display: inline-flex; align-items: center; gap: 12px;
  transition: var(--transition); cursor: default;
}
.pill:hover { background: white; border-color: var(--primary); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.pill i { color: var(--primary); }

/* Contact Section */
.contact-container { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.contact-direct { display: flex; flex-direction: column; gap: 24px; }
.direct-item { display: flex; align-items: center; gap: 16px; font-size: 1.125rem; font-weight: 500; }
.direct-item i {
  width: 48px; height: 48px; background: white; border-radius: 8px;
  display: flex; align-items: center; justify-content: center; color: var(--primary);
  box-shadow: var(--shadow-sm); font-size: 1.25rem;
}
.contact-form-premium {
  background: white; padding: 48px; border-radius: 16px;
  box-shadow: var(--shadow-md); border: 1px solid var(--border-color);
}
.contact-form-premium h3 { margin-bottom: 24px; font-size: 1.5rem; }
.form-group { margin-bottom: 24px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9375rem; }
.form-control {
  width: 100%; padding: 14px 16px; border: 1px solid var(--border-color); border-radius: 8px;
  font-family: inherit; font-size: 1rem; background: var(--secondary-bg); transition: var(--transition);
}
.form-control:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(110, 78, 255, 0.1); }
select.form-control { appearance: none; cursor: pointer; }

/* Footer */
.footer { background: #0F0F1A; color: rgba(255, 255, 255, 0.7); padding: 80px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 64px; }
.footer-brand h2 { color: white; margin-bottom: 16px; font-size: 1.5rem; }
.footer-brand p { margin-bottom: 24px; max-width: 300px; }
.footer-social { display: flex; gap: 16px; }
.footer-social a {
  width: 40px; height: 40px; background: rgba(255,255,255,0.1); display: flex; align-items: center;
  justify-content: center; border-radius: 50%; color: white; transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }
.footer-links h4 { color: white; margin-bottom: 24px; font-size: 1.125rem; }
.footer-links ul { display: flex; flex-direction: column; gap: 12px; }
.footer-links a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 32px; display: flex; justify-content: space-between; align-items: center; font-size: 0.875rem; }

/* Responsive */
@media (max-width: 1024px) {
  .hero .container { grid-template-columns: 1fr; text-align: center; }
  .hero-content p { margin: 0 auto 40px; }
  .hero-actions { justify-content: center; }
  .approach-block, .featured-case, .contact-container { grid-template-columns: 1fr; gap: 48px; }
  .approach-block.reverse { direction: ltr; }
  .featured-case-content { padding: 32px; }
  .capabilities-grid { grid-template-columns: 1fr; }
  .bento-large, .bento-small { grid-column: span 1; }
  .featured-case-image img { min-height: 250px; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; } h2 { font-size: 2rem; }
  .topbar { display: none; }
  .navbar { position: fixed; top: 0; width: 100%; left: 0; transform: none; padding: 16px 0; background: rgba(255,255,255,0.95); border-radius: 0; box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12); border: none; border-bottom: 1px solid var(--border-color); }
  .navbar .container { padding: 0 24px; }
  .navbar:not(.scrolled) .nav-brand, .navbar:not(.scrolled) .mobile-menu-btn { color: var(--text-primary); }
  .nav-links {
    display: none; position: absolute; top: 100%; left: 0; width: 100%; background: white;
    flex-direction: column; padding: 24px; box-shadow: var(--shadow-md); border-radius: 0; border: none; border-bottom: 1px solid var(--border-color);
  }
  .nav-links.active { display: flex; }
  .navbar:not(.scrolled) .nav-links a.nav-link { color: var(--text-primary); }
  .mobile-menu-btn { display: block; }
  .portfolio-grid, .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .client-logos { gap: 32px; }
}
