/* ===============================================
   LAYERED OVERLAP DESIGN SYSTEM - TECHNOLOGY
   ===============================================

   CRITICAL DESIGN CONSTRAINTS:
   - Container: max-width 1300px, overflow visible
   - Sections: 250px spacing (to allow overlap)
   - Overlap: minimum 58px between adjacent sections
   - Z-index: layered stacking with depth
   - Alignment: alternating with 20% offset
   - Typography: Archivo Black (900) + Work Sans (400)
   - Colors: Dark (#0f0f0f), Electric Blue (#3b82f6), Cyan (#06b6d4)

   =============================================== */

:root {
  --color-dark: #212121;
  --color-electric-blue: #03a9f4;
  --color-cyan: #1abc9c;
  --color-white: #ffffff;
  --color-light-bg: #f7f7f7;
  --color-text: #333333;
  --color-text-muted: #999999;
  --color-accent: #e74c3c;

  --font-heading: 'Archivo Black', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  --spacing-section: 250px;
  --spacing-element: 33px;
  --overlap-amount: 61px;
  --offset-horizontal: 20%;
}

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

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-light-bg);
  overflow-x: hidden;
}

.container {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 20px;
  overflow: visible;
}

/* ===============================================
   TYPOGRAPHY - LAYERED OVERLAP STYLE
   =============================================== */

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-weight: 900;
  line-height: 1.2;
  color: var(--color-dark);
}

h1 {
  font-size: 4rem;
  margin-bottom: var(--spacing-element);
}

h2 {
  font-size: 3rem;
  margin-bottom: calc(var(--spacing-element) * 0.8);
}

h3 {
  font-size: 1.8rem;
  margin-bottom: calc(var(--spacing-element) * 0.6);
}

h4 {
  font-size: 1.4rem;
}

p {
  margin-bottom: var(--spacing-element);
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--color-text-muted);
}

/* ===============================================
   NAVIGATION - FIXED WITH Z-INDEX
   =============================================== */

.navbar {
  background: var(--color-dark);
  padding: 1rem 0;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.3);
  z-index: 1000;
}

.navbar-brand {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.5rem;
  color: var(--color-white) !important;
  text-decoration: none;
}

.logo-img {
  max-height: 43px;
  width: auto;
}

.site-name {
  color: var(--color-white);
}

.nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--color-electric-blue) !important;
}

.dropdown-menu {
  background: var(--color-dark);
  border: none;
  box-shadow: 0 13px 28px rgba(0, 0, 0, 0.3);
}

.dropdown-item {
  color: rgba(255, 255, 255, 0.8);
  padding: 0.75rem 1.5rem;
}

.dropdown-item:hover {
  background: rgba(59, 130, 246, 0.1);
  color: var(--color-electric-blue);
}

/* ===============================================
   BUTTONS - MODERN TECH STYLE
   =============================================== */

.btn {
  padding: 0.875rem 2rem;
  font-weight: 600;
  border-radius: 0;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: left 0.5s ease;
  pointer-events: none;
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-electric-blue), var(--color-cyan));
  color: var(--color-white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 23px rgba(59, 130, 246, 0.4);
}

.btn-outline-primary {
  border: 2px solid var(--color-electric-blue);
  color: var(--color-electric-blue);
  background: transparent;
}

.btn-outline-primary:hover {
  background: var(--color-electric-blue);
  color: var(--color-white);
}

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

.btn-outline-light {
  border: 2px solid var(--color-white);
  color: var(--color-white);
  background: transparent;
}

.btn-outline-light:hover {
  background: var(--color-white);
  color: var(--color-dark);
}

/* ===============================================
   HERO SECTION - 3 OVERLAPPING LAYERS
   =============================================== */

.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 78px;
  margin-bottom: calc(var(--spacing-section) - var(--overlap-amount));
}

.hero-layer {
  position: absolute;
  width: 100%;
  pointer-events: none;
}

.hero-layer > * {
  pointer-events: auto;
}

.hero-layer-1 {
  top: 120px;
  left: 0;
  z-index: 3;
}

.hero-layer-2 {
  top: 200px;
  right: 0;
  z-index: 2;
}

.hero-layer-3 {
  bottom: -63px;
  left: 0;
  z-index: 4;
}

.hero-title {
  color: var(--color-dark);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

.hero-lead {
  font-size: 1.3rem;
  color: var(--color-text-muted);
  max-width: 600px;
}

.hero-cta {
  margin-top: var(--spacing-element);
}

.hero-image-card {
  border-radius: 0;
  overflow: hidden;
  box-shadow: -17px 19px 38px rgba(0, 0, 0, 0.15);
  position: relative;
  z-index: 2;
}

.hero-image-card::before {
  content: '';
  position: absolute;
  top: -18px;
  right: -21px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--color-electric-blue), var(--color-cyan));
  z-index: -1;
  pointer-events: none;
}

.hero-image-card img {
  display: block;
  width: 100%;
  height: auto;
}

.hero-stats-card {
  background: var(--color-white);
  padding: 3rem;
  box-shadow: -17px 20px 37px rgba(0, 0, 0, 0.15);
  border-radius: 0;
}

.stat-item {
  padding: 1rem;
}

.stat-number {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 2.5rem;
  color: var(--color-electric-blue);
  font-weight: 900;
}

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

/* ===============================================
   SECTIONS - OVERLAPPING WITH Z-INDEX
   =============================================== */

section {
  position: relative;
  padding: var(--spacing-section) 0;
  margin-top: calc(-1 * var(--overlap-amount));
  z-index: 1;
}

section:first-of-type {
  margin-top: 0;
}

.section-title {
  font-size: 3rem;
  margin-bottom: calc(var(--spacing-element) * 0.8);
}

.section-lead {
  font-size: 1.2rem;
  color: var(--color-text-muted);
}

/* ===============================================
   FEATURES SECTION - OFFSET CARDS
   =============================================== */

.features-section {
  background: transparent;
  z-index: 2;
}

.feature-card {
  background: var(--color-white);
  padding: 2.5rem;
  box-shadow: -19px 17px 39px rgba(0, 0, 0, 0.15);
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
  margin-bottom: 2rem;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 0;
  background: linear-gradient(180deg, var(--color-electric-blue), var(--color-cyan));
  transition: height 0.3s ease;
  pointer-events: none;
}

.feature-card:hover {
  transform: translateY(-11px);
  box-shadow: -24px 25px 48px rgba(0, 0, 0, 0.2);
}

.feature-card:hover::before {
  height: 100%;
}

.feature-icon {
  font-size: 3rem;
  color: var(--color-electric-blue);
  margin-bottom: 1.5rem;
}

.feature-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.feature-text {
  color: var(--color-text-muted);
}

/* ===============================================
   SERVICES SECTION - ALTERNATING OFFSET
   =============================================== */

.services-section {
  background: var(--color-dark);
  color: var(--color-white);
  z-index: 3;
  margin-left: calc(var(--offset-horizontal) * -1);
  padding-left: var(--offset-horizontal);
  padding-right: var(--offset-horizontal);
}

.services-section .section-title,
.services-section .section-lead {
  color: var(--color-white);
}

.service-card {
  background: var(--color-white);
  border-radius: 0;
  overflow: hidden;
  box-shadow: -19px 18px 40px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateX(10px);
}

.service-image {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.service-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.8), rgba(6, 182, 212, 0.8));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
  pointer-events: none;
}

.service-card:hover .service-image::before {
  opacity: 1;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-content {
  padding: 2rem;
  color: var(--color-text);
}

.service-title {
  font-size: 1.8rem;
  color: var(--color-dark);
  margin-bottom: 1rem;
}

.service-text {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.service-link {
  color: var(--color-electric-blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.service-link:hover {
  color: var(--color-cyan);
  transform: translateX(5px);
  display: inline-block;
}

/* ===============================================
   STATS SECTION - FLOATING CARD
   =============================================== */

.stats-section {
  z-index: 4;
  padding: 0;
  margin-top: calc(-1 * 97px);
  margin-bottom: calc(var(--spacing-section) - var(--overlap-amount));
}

.stats-card {
  background: var(--color-white);
  padding: 3rem;
  box-shadow: -20px 19px 38px rgba(0, 0, 0, 0.15);
  border-radius: 0;
  position: relative;
}

.stats-card::before {
  content: '';
  position: absolute;
  top: -17px;
  left: -13px;
  width: calc(100% + 27px);
  height: calc(100% + 32px);
  background: linear-gradient(135deg, var(--color-electric-blue), var(--color-cyan));
  opacity: 0.1;
  z-index: -1;
  pointer-events: none;
}

.stat-box {
  text-align: center;
  padding: 2rem 1rem;
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--color-electric-blue);
  margin-bottom: 1rem;
}

/* ===============================================
   TESTIMONIALS - OVERLAPPING CARDS
   =============================================== */

.testimonials-section {
  background: var(--color-light-bg);
  z-index: 2;
  margin-right: calc(var(--offset-horizontal) * -1);
  padding-right: var(--offset-horizontal);
}

.testimonial-card {
  background: var(--color-white);
  box-shadow: -19px 21px 38px rgba(0, 0, 0, 0.15);
  border-radius: 0;
  overflow: hidden;
  margin-bottom: 2rem;
}

.testimonial-image {
  height: 250px;
  overflow: hidden;
}

.testimonial-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-content {
  padding: 2rem;
}

.testimonial-rating {
  color: #fbbf24;
}

.testimonial-quote {
  font-style: italic;
  color: var(--color-text);
  margin: 1.5rem 0;
  line-height: 1.8;
}

.testimonial-author {
  margin-top: 1.5rem;
}

.author-name {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.2rem;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.author-role {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

/* ===============================================
   TEAM SECTION
   =============================================== */

.team-section {
  background: var(--color-white);
  z-index: 3;
}

.team-card {
  background: var(--color-light-bg);
  border-radius: 0;
  overflow: hidden;
  box-shadow: -22px 22px 39px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.team-card:hover {
  transform: translateY(-10px);
  box-shadow: -28px 28px 51px rgba(0, 0, 0, 0.15);
}

.team-image {
  height: 300px;
  overflow: hidden;
  position: relative;
}

.team-image::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.9));
  z-index: 1;
  pointer-events: none;
}

.team-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card:hover .team-image img {
  transform: scale(1.05);
}

.team-content {
  padding: 1.5rem;
  text-align: center;
}

.team-name {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.team-role {
  color: var(--color-electric-blue);
  font-weight: 500;
  margin-bottom: 1rem;
}

.team-social {
  display: flex;
  gap: 1rem;
  justify-content: center;
}

.team-social-link {
  width: 37px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-electric-blue);
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.team-social-link:hover {
  background: var(--color-cyan);
  transform: translateY(-3px);
}

/* ===============================================
   INTEGRATIONS SECTION
   =============================================== */

.integrations-section {
  background: var(--color-light-bg);
  z-index: 2;
}

.integrations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.integration-logo {
  background: var(--color-white);
  padding: 2rem;
  text-align: center;
  box-shadow: -8px 7px 23px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.integration-logo:hover {
  transform: translateY(-5px);
  box-shadow: -13px 15px 32px rgba(0, 0, 0, 0.15);
}

.integration-logo i {
  color: var(--color-electric-blue);
}

.integration-logo p {
  margin-top: 1rem;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--color-dark);
}

/* ===============================================
   CTA SECTION - FULL WIDTH OVERLAP
   =============================================== */

.cta-section {
  background: linear-gradient(135deg, var(--color-electric-blue), var(--color-cyan));
  z-index: 5;
  margin-left: -19px;
  margin-right: -20px;
  padding-left: 17px;
  padding-right: 20px;
}

.cta-card {
  padding: 4rem 3rem;
  text-align: center;
}

@media (min-width: 992px) {
  .cta-card {
    text-align: left;
  }
}

.cta-title {
  color: var(--color-white);
  margin-bottom: 1rem;
}

.cta-text {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
  margin-bottom: 0;
}

/* ===============================================
   PRICING SECTION
   =============================================== */

.pricing-section {
  background: var(--color-white);
  z-index: 3;
}

.pricing-card {
  background: var(--color-light-bg);
  padding: 2.5rem;
  box-shadow: -20px 22px 41px rgba(0, 0, 0, 0.1);
  border-radius: 0;
  transition: all 0.3s ease;
  position: relative;
}

.pricing-card.featured {
  background: var(--color-dark);
  color: var(--color-white);
  transform: scale(1.05);
  z-index: 2;
}

.pricing-card.featured .pricing-plan,
.pricing-card.featured .pricing-price {
  color: var(--color-white);
}

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

.pricing-card.featured:hover {
  transform: translateY(-8px) scale(1.05);
}

.pricing-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: linear-gradient(135deg, var(--color-electric-blue), var(--color-cyan));
  color: var(--color-white);
  padding: 0.5rem 1.5rem;
  font-weight: 600;
  font-size: 0.85rem;
  text-transform: uppercase;
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(59, 130, 246, 0.2);
}

.pricing-plan {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.pricing-price {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.25rem;
}

.price-currency {
  font-size: 1.5rem;
  color: var(--color-electric-blue);
}

.pricing-card.featured .price-currency {
  color: var(--color-cyan);
}

.price-amount {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--color-electric-blue);
}

.pricing-card.featured .price-amount {
  color: var(--color-white);
}

.price-period {
  color: var(--color-text-muted);
  font-size: 1rem;
}

.pricing-card.featured .price-period {
  color: rgba(255, 255, 255, 0.7);
}

.pricing-features {
  list-style: none;
  margin-bottom: 2rem;
}

.pricing-features li {
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-card.featured .pricing-features li {
  border-bottom-color: rgba(255, 255, 255, 0.1);
}

.pricing-features li.disabled {
  opacity: 0.4;
}

.pricing-features i {
  margin-right: 0.75rem;
  width: 22px;
}

.comparison-table {
  background: var(--color-white);
  box-shadow: -21px 22px 40px rgba(0, 0, 0, 0.1);
}

.comparison-table thead {
  background: var(--color-dark);
  color: var(--color-white);
}

.comparison-table thead th {
  padding: 1.5rem 1rem;
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
}

.comparison-table tbody td {
  padding: 1.25rem 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* ===============================================
   FAQ SECTION
   =============================================== */

.faq-section {
  background: var(--color-light-bg);
  z-index: 2;
}

.accordion-item {
  background: var(--color-white);
  border: none;
  margin-bottom: 1rem;
  box-shadow: -11px 13px 17px rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

.accordion-button {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--color-white);
  color: var(--color-dark);
  padding: 1.5rem;
  border-radius: 0;
}

.accordion-button:not(.collapsed) {
  background: var(--color-electric-blue);
  color: var(--color-white);
  box-shadow: none;
}

.accordion-button::after {
  filter: brightness(0);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  padding: 1.5rem;
  color: var(--color-text);
  line-height: 1.8;
}

/* ===============================================
   PAGE HERO - INNER PAGES
   =============================================== */

.page-hero {
  padding: 150px 0 100px;
  background: var(--color-dark);
  color: var(--color-white);
  margin-bottom: calc(var(--spacing-section) - var(--overlap-amount));
  position: relative;
  z-index: 2;
}

.page-hero .page-title {
  color: var(--color-white);
}

.page-hero .page-lead {
  color: rgba(255, 255, 255, 0.8);
}

.page-image-card {
  box-shadow: -18px 19px 40px rgba(0, 0, 0, 0.3);
  border-radius: 0;
  overflow: hidden;
}

.page-image-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===============================================
   ABOUT PAGE SPECIFIC
   =============================================== */

.about-story {
  background: var(--color-white);
  z-index: 3;
}

.story-card {
  background: var(--color-light-bg);
  padding: 3rem;
  box-shadow: -23px 20px 37px rgba(0, 0, 0, 0.1);
}

.story-text {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.about-values {
  background: var(--color-light-bg);
  z-index: 2;
}

.value-card {
  background: var(--color-white);
  padding: 2.5rem;
  box-shadow: -19px 17px 37px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

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

.value-icon {
  font-size: 3rem;
  color: var(--color-electric-blue);
  margin-bottom: 1.5rem;
}

.value-title {
  margin-bottom: 1rem;
}

.value-text {
  color: var(--color-text-muted);
}

/* ===============================================
   CONTACT PAGE SPECIFIC
   =============================================== */

.contact-section {
  background: var(--color-white);
  z-index: 3;
}

.contact-form-card,
.contact-info-card {
  background: var(--color-light-bg);
  padding: 2.5rem;
  box-shadow: -21px 17px 40px rgba(0, 0, 0, 0.1);
  height: 100%;
}

.contact-form-title,
.contact-info-title {
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

.form-control,
.form-select {
  border: 2px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  padding: 0.875rem 1rem;
  transition: border-color 0.3s ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--color-electric-blue);
  box-shadow: 0 0 0 0.2rem rgba(59, 130, 246, 0.1);
}

.form-label {
  font-weight: 600;
  color: var(--color-dark);
  margin-bottom: 0.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-info-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.contact-info-icon {
  width: 53px;
  height: 51px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-electric-blue);
  color: var(--color-white);
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info-content {
  flex: 1;
}

.contact-info-label {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-info-value {
  color: var(--color-text-muted);
  margin-bottom: 0.25rem;
}

/* ===============================================
   BLOG PAGES
   =============================================== */

.blog-grid-section {
  background: var(--color-white);
  z-index: 3;
}

.blog-card {
  background: var(--color-light-bg);
  box-shadow: -19px 23px 38px rgba(0, 0, 0, 0.1);
  border-radius: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-11px);
  box-shadow: -22px 26px 53px rgba(0, 0, 0, 0.15);
}

.blog-image {
  height: 250px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 2rem;
}

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.blog-date,
.blog-category {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.blog-category {
  color: var(--color-electric-blue);
  font-weight: 600;
}

.blog-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.3;
}

.blog-excerpt {
  color: var(--color-text-muted);
  margin-bottom: 1.5rem;
}

.blog-link {
  color: var(--color-electric-blue);
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.blog-link:hover {
  color: var(--color-cyan);
}

/* Article Page */

.article-page {
  background: var(--color-white);
}

.article-hero {
  padding: 150px 0 49px;
  background: var(--color-light-bg);
}

.article-meta {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  color: var(--color-text-muted);
}

.article-title {
  margin-bottom: 1.5rem;
}

.article-lead {
  font-size: 1.3rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.author-avatar {
  width: 60px;
  height: 61px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info {
  flex: 1;
}

.author-name {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.1rem;
  color: var(--color-dark);
  margin-bottom: 0.25rem;
}

.author-role {
  color: var(--color-text-muted);
  font-size: 0.95rem;
}

.article-image {
  padding: 3rem 0;
  background: var(--color-white);
}

.article-image img {
  width: 100%;
  height: auto;
  box-shadow: -17px 23px 40px rgba(0, 0, 0, 0.15);
}

.article-content {
  padding: 4rem 0;
}

.article-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
}

.article-content p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
}

.article-list {
  margin: 2rem 0;
  padding-left: 2rem;
}

.article-list li {
  margin-bottom: 1rem;
  font-size: 1.1rem;
  line-height: 1.7;
}

.article-quote {
  background: var(--color-light-bg);
  padding: 2.5rem;
  margin: 3rem 0;
  border-left: 4px solid var(--color-electric-blue);
  box-shadow: -10px 11px 20px rgba(0, 0, 0, 0.05);
}

.article-quote blockquote {
  margin: 0;
}

.article-quote p {
  font-size: 1.3rem;
  font-style: italic;
  color: var(--color-dark);
  margin: 0;
}

.article-footer {
  padding: 3rem 0;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.article-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}

/* ===============================================
   SERVICE PAGES
   =============================================== */

.service-hero {
  padding: 150px 0 99px;
  background: var(--color-dark);
  color: var(--color-white);
  margin-bottom: calc(var(--spacing-section) - var(--overlap-amount));
}

.service-hero .page-title {
  color: var(--color-white);
}

.service-hero .page-lead {
  color: rgba(255, 255, 255, 0.8);
}

.service-hero-image {
  box-shadow: -22px 19px 43px rgba(0, 0, 0, 0.3);
  border-radius: 0;
  overflow: hidden;
}

.service-hero-image img {
  width: 100%;
  height: auto;
}

.service-features {
  background: var(--color-white);
  z-index: 3;
}

.service-feature-box {
  background: var(--color-light-bg);
  padding: 2.5rem;
  box-shadow: -15px 14px 28px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.service-feature-box:hover {
  transform: translateY(-9px);
  box-shadow: -22px 19px 43px rgba(0, 0, 0, 0.15);
}

.service-feature-box i {
  color: var(--color-electric-blue);
}

.service-feature-box h3 {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

.service-feature-box p {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.service-process {
  background: var(--color-light-bg);
  z-index: 2;
}

.process-step {
  background: var(--color-white);
  padding: 2rem;
  box-shadow: -12px 15px 27px rgba(0, 0, 0, 0.1);
  text-align: center;
  transition: all 0.3s ease;
}

.process-step:hover {
  transform: translateY(-13px);
}

.process-number {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 3rem;
  color: var(--color-electric-blue);
  font-weight: 900;
  margin-bottom: 1rem;
}

.process-title {
  font-size: 1.3rem;
  margin-bottom: 1rem;
}

.process-text {
  color: var(--color-text-muted);
  margin-bottom: 0;
}

.service-tech {
  background: var(--color-white);
  z-index: 3;
}

.tech-stack {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.tech-item {
  background: var(--color-light-bg);
  padding: 2rem 1rem;
  text-align: center;
  box-shadow: -10px 11px 18px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.tech-item:hover {
  transform: translateY(-5px);
  box-shadow: -18px 15px 32px rgba(0, 0, 0, 0.15);
}

.tech-item i {
  color: var(--color-electric-blue);
}

.tech-item p {
  margin-top: 1rem;
  margin-bottom: 0;
  font-weight: 600;
  color: var(--color-dark);
}

.service-gallery {
  background: var(--color-light-bg);
  z-index: 2;
}

.service-gallery img {
  width: 100%;
  height: auto;
  box-shadow: -17px 16px 31px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-gallery img:hover {
  transform: scale(1.05);
  box-shadow: -22px 23px 41px rgba(0, 0, 0, 0.15);
}

/* ===============================================
   CASE STUDIES PAGE
   =============================================== */

.case-studies-grid {
  background: var(--color-white);
  z-index: 3;
}

.case-study-card {
  background: var(--color-light-bg);
  padding: 3rem;
  box-shadow: -17px 22px 42px rgba(0, 0, 0, 0.1);
  margin-bottom: 3rem;
}

.case-study-card img {
  width: 100%;
  height: auto;
  box-shadow: -15px 15px 32px rgba(0, 0, 0, 0.1);
}

.case-study-title {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.case-study-meta {
  color: var(--color-electric-blue);
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.case-study-description {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.case-study-stats {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
}

.case-stat {
  text-align: center;
  flex: 1;
  min-width: 150px;
}

.case-stat-value {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 2.5rem;
  color: var(--color-electric-blue);
  font-weight: 900;
  margin-bottom: 0.5rem;
}

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

/* ===============================================
   LEGAL PAGES
   =============================================== */

.legal-page {
  padding: 150px 0 102px;
  background: var(--color-white);
}

.legal-updated {
  color: var(--color-text-muted);
  font-style: italic;
  margin-bottom: 3rem;
}

.legal-content h2 {
  margin-top: 3rem;
  margin-bottom: 1.5rem;
  padding-top: 2rem;
  border-top: 2px solid rgba(0, 0, 0, 0.1);
}

.legal-content h2:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.legal-content p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--color-text);
}

.legal-list {
  margin: 1.5rem 0;
  padding-left: 2rem;
}

.legal-list li {
  margin-bottom: 1rem;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* ===============================================
   FOOTER - DARK WITH OVERLAP
   =============================================== */

.footer {
  background: var(--color-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 2rem;
  margin-top: calc(var(--spacing-section) - var(--overlap-amount));
  position: relative;
  z-index: 6;
}

.footer-brand {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.5rem;
  color: var(--color-white);
  text-decoration: none;
}

.footer-text {
  color: rgba(255, 255, 255, 0.7);
  margin-top: 1rem;
}

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

.social-link {
  width: 43px;
  height: 41px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-link:hover {
  background: var(--color-electric-blue);
  transform: translateY(-3px);
}

.footer-title {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 1.2rem;
  color: var(--color-white);
  margin-bottom: 1.5rem;
}

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

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

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.footer-contact li {
  margin-bottom: 1rem;
  color: rgba(255, 255, 255, 0.7);
}

.footer-divider {
  border-color: rgba(255, 255, 255, 0.1);
  margin: 3rem 0 2rem;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

.footer-legal {
  list-style: none;
  display: flex;
  gap: 2rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.footer-legal li {
  margin-bottom: 0;
}

.footer-legal a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: var(--color-electric-blue);
}

/* ===============================================
   RESPONSIVE - LAYERED OVERLAP ADJUSTMENTS
   =============================================== */

@media (max-width: 991px) {
  h1 {
    font-size: 3rem;
  }

  h2 {
    font-size: 2.5rem;
  }

  :root {
    --spacing-section: 150px;
    --overlap-amount: 37px;
    --offset-horizontal: 10%;
  }

  .hero-section {
    min-height: auto;
    padding-bottom: 97px;
  }

  .hero-layer {
    position: relative;
    margin-bottom: 2rem;
  }

  .hero-layer-1,
  .hero-layer-2,
  .hero-layer-3 {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
  }

  .services-section,
  .testimonials-section,
  .cta-section {
    margin-left: 0;
    margin-right: 0;
    padding-left: 18px;
    padding-right: 19px;
  }

  section {
    padding: 102px 0;
    margin-top: calc(-1 * var(--overlap-amount));
  }

  .footer-legal {
    justify-content: flex-start;
    margin-top: 1rem;
  }
}

@media (max-width: 767px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 2rem;
  }

  :root {
    --spacing-section: 101px;
    --overlap-amount: 31px;
  }

  .pricing-card.featured {
    transform: scale(1);
  }

  .pricing-card.featured:hover {
    transform: translateY(-10px);
  }

  .article-nav {
    flex-direction: column;
  }
}
