:root {
  --primary: #ae00ff;
  --primary-dark: #7100a5;
  --white: #ffffff;
  --accent-green: #85b000;
  --accent-lime: #c1ff00;
  --accent-deep: #5c6f00;
  --bg: #fdfaff;
  --bg-alt: #f4ecfc;
  --card-bg: #ffffff;
  --text: #241a33;
  --text-muted: #6b6275;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Source Sans 3', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  padding: 1.5rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  background: transparent;
  transition: all 0.3s ease;
}

nav.scrolled {
  background: rgba(253, 250, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: 1rem 4rem;
  border-bottom: 1px solid rgba(174, 0, 255, 0.12);
}

.logo {
  height: 50px;
  width: 50px;
  transform: scaleX(1.1);
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  color: var(--text);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  position: relative;
  padding: 0.5rem 0;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary);
  transition: width 0.3s ease;
}

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

.nav-links a:hover::after {
  width: 100%;
}

/* Header CTA Button */
.nav-links .header-cta {
  padding: 0.7rem 2.2rem;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.header-cta:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(174, 0, 255, 0.25);
}

.header-cta::after {
  display: none;
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
  z-index: 201;
}

.mobile-menu {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  height: 100vh;
  background: rgba(248, 240, 255, 0.97);
  backdrop-filter: blur(10px);
  transition: right 0.3s ease;
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}

.mobile-menu.active {
  right: 0;
}

.mobile-menu-close {
  position: absolute;
  top: 2rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--text);
  font-size: 2rem;
  cursor: pointer;
  line-height: 1;
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
  margin-bottom: 2rem;
}

.mobile-menu li {
  margin: 2rem 0;
}

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  transition: color 0.3s ease;
}

.mobile-menu a:hover {
  color: var(--primary);
}

.mobile-menu a.cta-button,
.mobile-menu a.cta-button:hover {
  color: var(--white);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 6rem 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(ellipse at 30% 20%, rgba(174, 0, 255, 0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 80%, rgba(193, 255, 0, 0.12) 0%, transparent 50%);
}

.hero-content {
  max-width: 1400px;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-text h1 {
  font-family: 'Nunito', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.hero-text h1 .highlight {
  color: var(--primary);
}

.hero-text .tagline {
  font-family: 'Nunito', sans-serif;
  color: var(--accent-deep);
  font-size: 1.1rem;
  margin-bottom: 2rem;
  font-weight: 700;
}

.hero-text p {
  font-size: 1.2rem;
  color: rgba(36, 26, 51, 0.75);
  max-width: 500px;
  margin-bottom: 2.5rem;
}

/* Hero CTA Buttons */
.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  border-radius: 8px;
  transition: all 0.3s ease;
  border: 2px solid var(--primary);
}

.cta-button:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(174, 0, 255, 0.25);
}

.cta-button.secondary {
  background: transparent;
  border-color: rgba(174, 0, 255, 0.25);
  color: var(--text);
}

.cta-button.secondary:hover {
  background: rgba(174, 0, 255, 0.08);
  border-color: var(--primary);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 100%;
  max-width: 420px;
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Metrics Bar */
.metrics-bar {
  background: var(--bg-alt);
  padding: 4rem;
  border-top: 1px solid rgba(174, 0, 255, 0.12);
  border-bottom: 1px solid rgba(174, 0, 255, 0.12);
}

.metrics-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.metric-item {
  text-align: center;
  padding: 1.5rem;
}

.metric-number {
  font-family: 'Nunito', sans-serif;
  font-size: 3.5rem;
  font-weight: 800;
  color: var(--primary);
  margin-bottom: 0.5rem;
  display: block;
}

.metric-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Section Styles */
section {
  padding: 6rem 4rem;
  position: relative;
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-header h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.section-header h2 .accent {
  color: var(--primary);
}

.section-header p {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 600px;
  margin: 0 auto;
}

/* Expertise Section */
.expertise {
  background: var(--bg);
}

.expertise-list {
  max-width: 1000px;
  margin: 0 auto;
}

.expertise-item {
  border-bottom: 1px solid rgba(174, 0, 255, 0.12);
  overflow: hidden;
}

.expertise-item:first-child {
  border-top: 1px solid rgba(174, 0, 255, 0.12);
}

.expertise-header {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem 0;
  cursor: pointer;
  transition: all 0.3s ease;
}

.expertise-header:hover {
  padding-left: 1rem;
}

.expertise-number {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  min-width: 50px;
}

.expertise-icon {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(174, 0, 255, 0.1);
  border-radius: 12px;
  flex-shrink: 0;
}

.expertise-icon svg {
  width: 28px;
  height: 28px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
}

.expertise-title {
  flex: 1;
}

.expertise-title h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}

.expertise-title p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.expertise-toggle {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(174, 0, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.expertise-toggle svg {
  width: 20px;
  height: 20px;
  stroke: var(--primary);
  transition: transform 0.3s ease;
}

.expertise-item.active .expertise-toggle {
  background: var(--primary);
}

.expertise-item.active .expertise-toggle svg {
  stroke: var(--white);
  transform: rotate(180deg);
}

.expertise-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 0 0 4.5rem;
}

.expertise-item.active .expertise-content {
  max-height: 500px;
  padding-bottom: 2rem;
}

.expertise-content ul {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.8rem;
}

.expertise-content li {
  color: rgba(36, 26, 51, 0.8);
  padding-left: 1.5rem;
  position: relative;
}

.expertise-content li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.6rem;
  width: 6px;
  height: 6px;
  background: var(--accent-lime);
  border-radius: 50%;
}

.expertise-cta {
  margin-top: 1.5rem;
}

.expertise-cta a {
  color: var(--primary);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  transition: gap 0.3s ease;
}

.expertise-cta a:hover {
  gap: 1rem;
}

/* Tech Stack Section */
.tech-stack {
  background: var(--bg-alt);
}

.tech-categories {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.tech-category h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: var(--accent-deep);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.tech-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.tech-tag {
  background: rgba(174, 0, 255, 0.1);
  border: 1px solid rgba(174, 0, 255, 0.2);
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(36, 26, 51, 0.85);
  transition: all 0.3s ease;
}

.tech-tag:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: scale(1.05);
}

/* Case Studies Section */
.case-studies {
  background: var(--bg-alt);
}

.case-studies-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.case-study-card {
  background: var(--card-bg);
  border: 1px solid rgba(174, 0, 255, 0.12);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(174, 0, 255, 0.06);
  transition: all 0.4s ease;
}

.case-study-card:hover {
  border-color: rgba(174, 0, 255, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(174, 0, 255, 0.15);
}

.case-study-header {
  padding: 2rem;
  border-bottom: 1px solid rgba(174, 0, 255, 0.1);
}

.case-study-icon {
  width: 60px;
  height: 60px;
  background: rgba(174, 0, 255, 0.1);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.case-study-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
}

.case-study-label {
  font-family: 'Nunito', sans-serif;
  font-size: 0.8rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.case-study-header h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 1rem;
  line-height: 1.3;
}

.case-study-header p {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.case-study-body {
  padding: 2rem;
}

.case-study-section {
  margin-bottom: 1.5rem;
}

.case-study-section:last-child {
  margin-bottom: 0;
}

.case-study-section h4 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.case-study-section p {
  color: rgba(36, 26, 51, 0.75);
  font-size: 0.9rem;
  line-height: 1.6;
}

.case-study-results {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.result-stat {
  text-align: center;
}

.result-stat .number {
  font-family: 'Nunito', sans-serif;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-deep);
  display: block;
}

.result-stat .label {
  color: var(--text-muted);
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.case-study-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.case-study-tech span {
  background: rgba(133, 176, 0, 0.15);
  border: 1px solid rgba(133, 176, 0, 0.3);
  padding: 0.3rem 0.8rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent-deep);
}

/* Industries Section */
.industries {
  background: var(--bg);
}

.industries-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.industry-card {
  background: var(--card-bg);
  border: 1px solid rgba(174, 0, 255, 0.12);
  border-radius: 16px;
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 4px 20px rgba(174, 0, 255, 0.05);
  transition: all 0.3s ease;
}

.industry-card:hover {
  border-color: rgba(174, 0, 255, 0.3);
  transform: translateY(-5px);
}

.industry-icon {
  width: 70px;
  height: 70px;
  background: rgba(174, 0, 255, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem auto;
}

.industry-icon svg {
  width: 36px;
  height: 36px;
  stroke: var(--primary);
  fill: none;
  stroke-width: 1.5;
}

.industry-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.industry-card p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Why Us Section */
.why-us {
  background: var(--bg);
}

.why-us-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1400px;
  margin: 0 auto;
}

.why-card {
  padding: 2rem;
  border-left: 4px solid var(--primary);
  background: rgba(174, 0, 255, 0.05);
  border-radius: 0 12px 12px 0;
}

.why-card h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.8rem;
  color: var(--text);
}

.why-card p {
  color: rgba(36, 26, 51, 0.7);
}

/* Section CTA */
.section-cta {
  background: linear-gradient(135deg, rgba(174, 0, 255, 0.1) 0%, rgba(193, 255, 0, 0.08) 100%);
  border: 1px solid rgba(174, 0, 255, 0.2);
  border-radius: 16px;
  padding: 3rem 2rem;
  text-align: center;
  margin-top: 4rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.section-cta h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text);
}

/* Contact Section */
.contact {
  background: var(--bg-alt);
  text-align: center;
}

.contact-content {
  max-width: 600px;
  margin: 0 auto;
}

.contact-content h2 {
  font-family: 'Nunito', sans-serif;
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

.contact-content > p {
  color: var(--text-muted);
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  font-size: 1.1rem;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  stroke: var(--primary);
  flex-shrink: 0;
}

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

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

.contact-cta {
  padding: 1.2rem 3rem;
  background: var(--primary);
  color: var(--white);
  text-decoration: none;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 700;
  border-radius: 50px;
  display: inline-block;
  transition: all 0.3s ease;
}

.contact-cta:hover {
  background: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 15px 40px rgba(174, 0, 255, 0.3);
}

/* Footer */
footer {
  background: var(--bg);
  padding: 4rem 4rem 2rem 4rem;
  border-top: 1px solid rgba(174, 0, 255, 0.12);
}

.footer-grid {
  max-width: 1400px;
  margin: 0 auto 3rem auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-column h3 {
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  color: var(--accent-deep);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo {
  height: 60px;
  width: auto;
  margin-bottom: 0.5rem;
}

.footer-tagline {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 1rem;
  max-width: 280px;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-link {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(174, 0, 255, 0.1);
  border: 1px solid rgba(174, 0, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  text-decoration: none;
  transition: all 0.3s ease;
  font-family: 'Nunito', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
}

.social-link:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.8rem;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(174, 0, 255, 0.12);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* Scroll animations */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 968px) {
  nav {
    padding: 1rem 2rem;
  }

  .nav-links {
    display: none;
  }

  .mobile-menu-btn {
    display: block;
  }

  .hero {
    padding: 6rem 2rem;
  }

  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-text h1 {
    font-size: 2.5rem;
  }

  .hero-text p {
    margin: 0 auto 2.5rem auto;
  }

  .hero-ctas {
    justify-content: center;
  }

  .hero-logo {
    max-width: 300px;
  }

  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1rem;
  }

  .metric-number {
    font-size: 2.5rem;
  }

  section {
    padding: 4rem 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .expertise-content ul {
    grid-template-columns: 1fr;
  }

  .expertise-header {
    gap: 1rem;
  }

  .expertise-content {
    padding-left: 0;
  }

  .industries-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .why-us-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand {
    align-items: center;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-text h1 {
    font-size: 2rem;
  }

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

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .case-studies-grid {
    grid-template-columns: 1fr;
  }

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

  .why-us-grid {
    grid-template-columns: 1fr;
  }
}
