:root {
  --primary-color: #2E6BFF;
  --primary-hover: #183A8A;
  --primary-gradient: linear-gradient(
    135deg,
    #183A8A 0%,
    #2E6BFF 30%,
    #00A9B7 65%,
    #43C36B 100%
  );
  --bg-color: #ffffff;
  --bg-light-gray: #f9fafb;
  --bg-dark: #0f172a;

  --text-dark: #111827;
  --text-body: #4b5563;
  --text-light: #f3f4f6;

  --border-color: #e5e7eb;
  --card-bg: #ffffff;
  --card-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
}

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

html, body {
  overflow-x: hidden;
}

body {
  font-family: 'Poppins', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-body);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-dark);
  font-weight: 600;
  letter-spacing: -0.02em;
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.2s ease;
}

/* Utilities */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

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

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.625rem 1.25rem;
  font-weight: 500;
  font-size: 0.875rem;
  border-radius: 9999px;
  /* Pill shape */
  cursor: pointer;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.btn-primary {
  background: var(--primary-gradient);
  color: white;
  border: none;
}

.btn-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border-color: var(--border-color);
}

.btn-outline:hover {
  background-color: var(--bg-light-gray);
}

.btn-white {
  background-color: white;
  color: var(--text-dark);
}

.btn-white:hover {
  background-color: var(--bg-light-gray);
}

.btn-ghost {
  background-color: transparent;
  color: var(--text-dark);
}

.btn-ghost:hover {
  color: var(--primary-color);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background-color: var(--bg-light-gray);
  border: 1px solid var(--border-color);
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--text-body);
  margin-bottom: 1.5rem;
}

/* Navbar */
.navbar {
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-color);
  position: sticky;
  top: 0;
  z-index: 50;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text-dark);
}

.nav-brand-icon {
  width: 28px;
  height: 28px;
  background-color: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

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

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-dark);
}

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

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--bg-color);
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  min-width: 250px;
  max-height: 400px;
  overflow-y: auto;
  overflow-x: hidden;
  list-style: none;
  padding: 0.5rem 0;
  z-index: 100;
}

.dropdown-menu li {
  padding: 0;
}

.dropdown-menu li a {
  display: block;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
}

.dropdown-menu li a:hover {
  background-color: var(--bg-light-gray);
}

.dropdown:hover .dropdown-menu {
  display: block;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Hero Section */
.hero {
  padding: 4rem 0;
  background-color: var(--bg-color);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-top: 5rem;
  margin-bottom: 1.5rem;
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  max-width: 90%;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  gap: 3rem;
}

.stat-item h3 {
  font-size: 1.875rem;
  margin-bottom: 0.25rem;
}

.stat-item p {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin: 0;
}

/* Hero Floating Circles */
.hero-visual {
  position: relative;
  width: 100%;
}

.central-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 160px;
  height: 160px;
  z-index: 1;
  background: white;
  padding: 2.5rem;
  border-radius: 50%;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-circle {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  background: white;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  animation: orbit 20s linear infinite;
  width: var(--size);
  height: var(--size);
  margin-top: calc(var(--size) / -2);
  margin-left: calc(var(--size) / -2);
}

/* Scattered 8 tech circles orbiting around the center */
.circle-1 {
  --size: 90px;
  --angle: 0deg;
  --radius: 220px;
}

.circle-2 {
  --size: 110px;
  --angle: 45deg;
  --radius: 210px;
}

.circle-3 {
  --size: 80px;
  --angle: 90deg;
  --radius: 230px;
}

.circle-4 {
  --size: 100px;
  --angle: 135deg;
  --radius: 215px;
}

.circle-5 {
  --size: 95px;
  --angle: 180deg;
  --radius: 225px;
}

.circle-6 {
  --size: 85px;
  --angle: 225deg;
  --radius: 210px;
}

.circle-7 {
  --size: 70px;
  --angle: 270deg;
  --radius: 235px;
}

.circle-8 {
  --size: 75px;
  --angle: 315deg;
  --radius: 220px;
}

@keyframes orbit {
  from {
    transform: rotate(var(--angle)) translateX(var(--radius)) rotate(calc(-1 * var(--angle)));
  }

  to {
    transform: rotate(calc(var(--angle) + 360deg)) translateX(var(--radius)) rotate(calc(-1 * (var(--angle) + 360deg)));
  }
}

.hero-image {
  background-color: #f0fdf4;
  /* Very light green tint */
  border-radius: 1.5rem;
  padding: 2rem;
  position: relative;
  box-shadow: var(--card-shadow);
}

.mockup-card {
  background: white;
  border-radius: 1rem;
  padding: 1.5rem;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
  margin-bottom: 1.5rem;
}

/* Logo Strip */
.logo-strip {
  background-color: var(--bg-light-gray);
  padding: 4rem 0;
  text-align: center;
}

.logo-strip h3 {
  font-size: 1.125rem;
  font-weight: 500;
  color: var(--text-dark);
  margin-bottom: 2rem;
}

.logos {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
  flex-wrap: wrap;
}

.logo-item {
  background: white;
  padding: 1rem 2rem;
  border-radius: 0.5rem;
  border: 1px solid var(--border-color);
  font-weight: 700;
  color: var(--text-body);
  font-size: 1.25rem;
}

/* Feature Cards Section */
.features-section {
  padding: 6rem 0;
}

.section-header {
  margin-bottom: 4rem;
  max-width: 600px;
}

.section-header h2 {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

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

.feature-card {
  background-color: var(--bg-light-gray);
  border-radius: 1rem;
  padding: 2.5rem 2rem;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.feature-card:hover {
  background-color: white;
  border-color: var(--border-color);
  box-shadow: var(--card-shadow);
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Large Showcase */
.showcase-section {
  padding: 4rem 0;
  text-align: center;
}

.showcase-header {
  margin-bottom: 4rem;
}

.showcase-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
}

.showcase-card {
  background-color: var(--bg-light-gray);
  border-radius: 1rem;
  padding: 2.5rem;
  display: flex;
  gap: 2rem;
  align-items: center;
}

.showcase-content {
  flex: 1;
}

.showcase-content h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.showcase-image {
  flex: 1;
  background: white;
  border-radius: 0.5rem;
  padding: 1.5rem;
  box-shadow: var(--card-shadow);
}

/* Testimonials */
.testimonials {
  padding: 6rem 0;
  text-align: center;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  text-align: left;
  margin-top: 3rem;
}

.testimonial-card {
  border: 1px solid var(--border-color);
  border-radius: 1rem;
  padding: 2.5rem;
}

.stars {
  color: #fbbf24;
  margin-bottom: 1.5rem;
}

.testimonial-card p {
  font-weight: 500;
  color: var(--text-dark);
  font-size: 1.125rem;
  margin-bottom: 2rem;
}

.author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-light-gray);
}

.author-info h4 {
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
}

.author-info p {
  font-size: 0.75rem;
  color: var(--text-body);
  font-weight: 400;
  margin: 0;
}

/* Dark CTA Banner */
.cta-banner {
  background-color: var(--bg-dark);
  padding: 6rem 0;
  text-align: center;
  color: white;
}

.cta-banner h2 {
  color: white;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: var(--text-light);
  margin-bottom: 2.5rem;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

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

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-col h4 {
  font-size: 0.875rem;
  margin-bottom: 1.5rem;
}

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

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  font-size: 0.875rem;
}

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

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.75rem;
}

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

/* Counters */
.counter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.counter-box {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--card-shadow);
  border: 1px solid var(--border-color);
  text-align: center;
}

.counter-box h3 {
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 0.5rem;
}

.counter-box p {
  font-weight: 500;
  margin: 0;
}

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

/* Services Grid */
.services-comprehensive-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.service-box {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.service-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--card-shadow);
  border-color: var(--primary-color);
}

.service-box h4 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

/* Process */
.process-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}

.process-step .step-number {
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  margin: 0 auto 1.5rem;
}

/* Technologies */
.tech-category {
  margin-bottom: 3rem;
}

.tech-category h3 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.tech-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.tech-pill {
  background: white;
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: 9999px;
  font-weight: 500;
  box-shadow: var(--card-shadow);
}

/* Industries */
.industries-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.industry-tag {
  background: #ffffff;
  padding: 1rem 2rem;
  border-radius: 8px;
  font-weight: 600;
  border: 1px solid var(--border-color);
}

/* FAQ */
.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--border-color);
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 1.5rem 0;
  background: none;
  border: none;
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--text-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-answer p {
  padding-bottom: 1.5rem;
  color: var(--text-body);
  margin: 0;
}

.faq-item.active .faq-answer {
  max-height: 500px;
}

.faq-icon {
  transition: transform 0.3s ease;
  font-size: 1.5rem;
  line-height: 1;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

/* Hamburger */
.hamburger {
  display: none;
  cursor: pointer;
  color: var(--text-dark);
}

/* Responsive */
@media (max-width: 992px) {
  .hamburger {
    display: block;
  }

  .hero-grid,
  .showcase-grid,
  .testimonial-grid,
  .about-split {
    grid-template-columns: 1fr;
  }

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

  .nav-actions {
    display: none;
  }

  /* Mobile Menu Styles */
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    left: auto;
    width: 280px;
    height: 100vh;
    background-color: var(--bg-color);
    flex-direction: column;
    padding: 5rem 2rem 2rem 2rem;
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    border-bottom: none;
    border-left: 1px solid var(--border-color);
    transition: right 0.3s ease-in-out;
    z-index: 1000;
  }

  .nav-links.nav-active {
    right: 0;
  }
  
  .hamburger {
    z-index: 1001;
    position: relative;
  }

  .nav-links li {
    text-align: center;
    margin: 10px 0;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background-color: transparent;
  }

  .dropdown-menu li a {
    padding: 0.5rem 0;
  }

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

  .page-header {
    padding: 4rem 0 !important;
  }

  section {
    padding: 3rem 0;
  }
}

@media (max-width: 768px) {
  .feature-grid {
    grid-template-columns: 1fr;
  }

  .showcase-card {
    flex-direction: column;
  }

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

  .hero {
    padding: 0 !important;
  }

  .hero h1 {
    font-size: 2rem;
    line-height: 1.2 !important;
  }

  .topbar .container {
    flex-direction: column !important;
    gap: 0.5rem;
  }

  .topbar .container > div:first-child {
    flex-direction: column !important;
    gap: 0.25rem !important;
  }

  .hero p {
    font-size: 1rem;
    max-width: 100%;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 1024px) {
  .hero-visual {
    display: none;
  }
}