/* ═══════════════════════════════════════════
   ImpactMakery Theme - Custom CSS
   RTL-first, Hebrew, matching original design
   ═══════════════════════════════════════════ */

/* ─── CSS Custom Properties ─── */
:root {
  --im-purple: #5A1BD4;
  --im-green: #00A86B;
  --im-green-hover: #00956B;
  --im-navy: #1B2236;
  --im-bg-light: #F9FAFB;
  --im-white: #ffffff;
  --im-gray-100: #f3f4f6;
  --im-gray-200: #e5e7eb;
  --im-gray-400: #9ca3af;
  --im-gray-600: #4b5563;
  --im-gray-800: #1f2937;
  --im-font: 'Assistant', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --im-nav-height: 72px;
}

/* ─── Reset & Base ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--im-font);
  direction: rtl;
  text-align: right;
  background: var(--im-bg-light);
  color: var(--im-navy);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ─── Container ─── */
.im-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* ─── Section Titles ─── */
.im-section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--im-navy);
  text-align: center;
  margin-bottom: 0.75rem;
}

.im-section-title--light {
  color: var(--im-white);
}

.im-section-subtitle {
  font-size: 1.2rem;
  color: var(--im-gray-600);
  text-align: center;
  max-width: 600px;
  margin: 0 auto 1rem;
  line-height: 1.7;
}

.im-section-subtitle--light {
  color: rgba(255, 255, 255, 0.7);
}

/* ═══════════════════════════════════════════
   NAVIGATION
   ═══════════════════════════════════════════ */
.im-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--im-bg-light);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: background 0.3s, box-shadow 0.3s;
}

.im-nav.is-scrolled {
  background: rgba(249, 250, 251, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.im-nav__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--im-nav-height);
}

/* Logo */
.im-nav__logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.im-nav__logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
}

.im-nav__logo-text {
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--im-navy);
}

/* Desktop Menu */
.im-nav__links {
  display: none;
}

.im-nav__menu {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  direction: rtl;
}

.im-nav__menu li a {
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(27, 34, 54, 0.6);
  transition: color 0.3s;
  white-space: nowrap;
}

.im-nav__menu li a:hover {
  color: var(--im-navy);
}

/* CTA Button */
.im-nav__cta {
  display: inline-block;
  background: var(--im-green);
  color: var(--im-white);
  font-weight: 500;
  padding: 0.75rem 2rem;
  border-radius: 0.75rem;
  font-size: 1rem;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 168, 107, 0.2);
  white-space: nowrap;
}

.im-nav__cta:hover {
  background: var(--im-green-hover);
  box-shadow: 0 6px 20px rgba(0, 168, 107, 0.3);
  transform: translateY(-1px);
}

.im-nav__desktop-only {
  display: none;
}

/* Products Dropdown */
.im-nav__dropdown {
  position: relative;
}

.im-nav__dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  font-family: var(--im-font);
  font-size: 1.1rem;
  font-weight: 500;
  color: rgba(27, 34, 54, 0.6);
  cursor: pointer;
  transition: color 0.3s;
  white-space: nowrap;
  padding: 0;
}

.im-nav__dropdown-toggle:hover {
  color: var(--im-navy);
}

.im-nav__dropdown-toggle svg {
  transition: transform 0.3s;
}

.im-nav__dropdown:hover .im-nav__dropdown-toggle svg {
  transform: rotate(180deg);
}

.im-nav__dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  min-width: 320px;
  background: var(--im-white);
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  transform: translateX(-50%) translateY(8px);
  z-index: 60;
  margin-top: 0.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.im-nav__dropdown:hover .im-nav__dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.im-nav__dropdown-item {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding: 0.85rem 1rem;
  border-radius: 0.65rem;
  transition: background 0.2s;
  text-align: right;
  direction: rtl;
}

.im-nav__dropdown-item:hover {
  background: var(--im-bg-light);
}

.im-nav__dropdown-item-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--im-navy);
}

.im-nav__dropdown-item-desc {
  font-size: 0.9rem;
  color: var(--im-gray-600);
}

.im-nav__dropdown-item-link {
  font-size: 0.85rem;
  color: var(--im-purple);
  font-weight: 500;
}

/* Mobile Dropdown */
.im-nav__mobile-dropdown {
  width: 100%;
  text-align: center;
}

.im-nav__mobile-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: none;
  border: none;
  font-family: var(--im-font);
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--im-navy);
  cursor: pointer;
  padding: 0;
}

.im-nav__mobile-dropdown-toggle svg {
  transition: transform 0.3s;
}

.im-nav__mobile-dropdown.is-open .im-nav__mobile-dropdown-toggle svg {
  transform: rotate(180deg);
}

.im-nav__mobile-dropdown-menu {
  display: none;
  flex-direction: column;
  gap: 1rem;
  margin-top: 0.75rem;
}

.im-nav__mobile-dropdown.is-open .im-nav__mobile-dropdown-menu {
  display: flex;
}

.im-nav__mobile-dropdown-menu a {
  font-size: 1.1rem;
  color: var(--im-purple);
  font-weight: 500;
}

/* Hamburger */
.im-nav__hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 8px;
}

.im-nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--im-navy);
  border-radius: 2px;
  transition: all 0.3s;
}

.im-nav__hamburger.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.im-nav__hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.im-nav__hamburger.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.im-nav__mobile {
  display: none;
  position: fixed;
  top: var(--im-nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--im-white);
  padding: 2rem;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  z-index: 49;
}

.im-nav__mobile.is-open {
  display: flex;
}

.im-nav__mobile-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.im-nav__mobile-menu li a {
  font-size: 1.3rem;
  font-weight: 500;
  color: var(--im-navy);
}

.im-nav__cta--mobile {
  margin-top: 1rem;
  font-size: 1.1rem;
  padding: 1rem 3rem;
}

/* ═══════════════════════════════════════════
   HERO
   ═══════════════════════════════════════════ */
.im-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(to bottom left, var(--im-navy), var(--im-purple));
  overflow: hidden;
  padding: 2rem;
}

/* Decorative blurs */
.im-hero__blur {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}

.im-hero__blur--top-right {
  top: -100px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: rgba(255, 255, 255, 0.07);
  filter: blur(80px);
}

.im-hero__blur--bottom-left {
  bottom: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: rgba(0, 168, 107, 0.1);
  filter: blur(80px);
}

.im-hero__blur--center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.04), transparent 70%);
  filter: blur(60px);
}

.im-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
}

.im-hero__headline {
  font-size: 4rem;
  font-weight: 800;
  color: var(--im-white);
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

.im-hero__subtext {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 2.5rem;
  line-height: 1.8;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.im-hero__cta {
  display: inline-block;
  background: var(--im-green);
  color: var(--im-white);
  font-weight: 600;
  font-size: 1.2rem;
  padding: 1rem 3rem;
  border-radius: 0.75rem;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 168, 107, 0.3);
}

.im-hero__cta:hover {
  background: var(--im-green-hover);
  box-shadow: 0 8px 30px rgba(0, 168, 107, 0.4);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════
   WHAT WE DO
   ═══════════════════════════════════════════ */
.im-what-we-do {
  padding: 6rem 0;
  background: var(--im-white);
}

.im-what-we-do__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.im-what-we-do__card {
  background: var(--im-bg-light);
  border: 1px solid var(--im-gray-200);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s;
}

.im-what-we-do__card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.im-what-we-do__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: linear-gradient(135deg, var(--im-purple), #7c3aed);
  color: var(--im-white);
  margin-bottom: 1.25rem;
}

.im-what-we-do__card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--im-navy);
  margin-bottom: 0.75rem;
}

.im-what-we-do__card-desc {
  font-size: 1.05rem;
  color: var(--im-gray-600);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   AUTOMATION IDEAS
   ═══════════════════════════════════════════ */
.im-automation {
  padding: 6rem 0;
  background: var(--im-bg-light);
}

.im-automation__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 3rem;
}

.im-automation__card {
  background: var(--im-white);
  border: 1px solid var(--im-gray-200);
  border-radius: 0.75rem;
  padding: 1.5rem 1.25rem;
  text-align: center;
  transition: all 0.3s;
  min-height: 150px;
  position: relative;
  overflow: hidden;
}

.im-automation__card:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  border-color: rgba(90, 27, 212, 0.2);
}

.im-automation__card-main {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  width: calc(100% - 2.5rem);
}

.im-automation__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: rgba(90, 27, 212, 0.08);
  color: var(--im-purple);
}

.im-automation__card-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--im-navy);
}

.im-automation__card-desc {
  font-size: 0.82rem;
  color: var(--im-gray-600);
  line-height: 1.4;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, opacity 0.3s ease;
}

.im-automation__card:hover .im-automation__card-desc {
  max-height: 5rem;
  opacity: 1;
}

/* CTA Banner */
.im-automation__cta-banner {
  margin-top: 3rem;
  background: linear-gradient(135deg, var(--im-navy), var(--im-purple));
  border-radius: 1rem;
  padding: 2.5rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

.im-automation__cta-text {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--im-white);
}

.im-automation__cta-btn {
  display: inline-block;
  background: var(--im-green);
  color: var(--im-white);
  font-weight: 600;
  padding: 0.85rem 2.5rem;
  border-radius: 0.75rem;
  font-size: 1.05rem;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 168, 107, 0.25);
}

.im-automation__cta-btn:hover {
  background: var(--im-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 168, 107, 0.35);
}

/* ═══════════════════════════════════════════
   HOW IT WORKS
   ═══════════════════════════════════════════ */
.im-how-it-works {
  padding: 6rem 0;
  background: linear-gradient(to bottom left, var(--im-navy), var(--im-purple));
}

.im-how-it-works__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.im-how-it-works__step {
  text-align: center;
  padding: 2rem;
}

.im-how-it-works__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  color: var(--im-green);
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.im-how-it-works__step-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--im-white);
  margin-bottom: 0.75rem;
}

.im-how-it-works__step-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  max-width: 300px;
  margin: 0 auto;
}

/* ═══════════════════════════════════════════
   WHO WE ARE
   ═══════════════════════════════════════════ */
.im-who-we-are {
  padding: 6rem 0;
  background: var(--im-white);
}

.im-who-we-are__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.im-who-we-are__card {
  text-align: center;
  padding: 2rem;
  background: var(--im-bg-light);
  border-radius: 1rem;
  border: 1px solid var(--im-gray-200);
  transition: all 0.3s;
}

.im-who-we-are__card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.im-who-we-are__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 1rem;
  background: rgba(0, 168, 107, 0.1);
  color: var(--im-green);
  margin-bottom: 1.25rem;
}

.im-who-we-are__card-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--im-navy);
  margin-bottom: 0.75rem;
}

.im-who-we-are__card-desc {
  font-size: 1.05rem;
  color: var(--im-gray-600);
  line-height: 1.7;
}

/* ═══════════════════════════════════════════
   TESTIMONIALS
   ═══════════════════════════════════════════ */
.im-testimonials {
  padding: 6rem 0;
  background: var(--im-bg-light);
}

.im-testimonials__headline {
  text-align: center;
  margin-bottom: 3rem;
}

.im-testimonials__headline-line1 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--im-navy);
  line-height: 1.3;
}

.im-testimonials__headline-line2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--im-green);
  line-height: 1.3;
}

.im-testimonials__carousel {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
  min-height: 250px;
}

.im-testimonials__card {
  max-width: 700px;
  margin: 0 auto;
  background: var(--im-white);
  border: 1px solid var(--im-gray-200);
  border-radius: 1rem;
  padding: 2.5rem;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
}

.im-testimonials__card--active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  position: relative;
}

.im-testimonials__dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
}

.im-testimonials__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  background: var(--im-gray-200);
  cursor: pointer;
  transition: all 0.3s;
  padding: 0;
}

.im-testimonials__dot--active {
  background: var(--im-purple);
  transform: scale(1.2);
}

.im-testimonials__quote-mark {
  font-size: 5rem;
  color: var(--im-purple);
  opacity: 0.15;
  font-family: Georgia, serif;
  line-height: 1;
  position: absolute;
  top: 0.5rem;
  right: 1.5rem;
}

.im-testimonials__quote {
  font-size: 1.15rem;
  color: var(--im-gray-800);
  line-height: 1.9;
  margin-bottom: 1.5rem;
  position: relative;
}

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

.im-testimonials__avatar {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--im-purple), #7c3aed);
  color: var(--im-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  font-weight: 700;
}

.im-testimonials__author-info {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.im-testimonials__author-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--im-navy);
}

.im-testimonials__author-role {
  font-size: 0.95rem;
  color: var(--im-gray-400);
}

/* ═══════════════════════════════════════════
   CONTACT FORM
   ═══════════════════════════════════════════ */
.im-contact {
  padding: 6rem 0;
  background: var(--im-white);
}

.im-contact__form {
  max-width: 700px;
  margin: 2.5rem auto 0;
}

.im-contact__form-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.im-contact__field {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.im-contact__label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--im-navy);
}

.im-contact__input,
.im-contact__textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1px solid var(--im-gray-200);
  border-radius: 0.75rem;
  font-family: var(--im-font);
  font-size: 1rem;
  color: var(--im-navy);
  background: var(--im-bg-light);
  direction: rtl;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.im-contact__input:focus,
.im-contact__textarea:focus {
  outline: none;
  border-color: var(--im-purple);
  box-shadow: 0 0 0 3px rgba(90, 27, 212, 0.1);
}

.im-contact__input::placeholder,
.im-contact__textarea::placeholder {
  color: var(--im-gray-400);
}

.im-contact__textarea {
  resize: vertical;
  min-height: 120px;
}

.im-contact__submit {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--im-green);
  color: var(--im-white);
  font-family: var(--im-font);
  font-size: 1.1rem;
  font-weight: 600;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 12px rgba(0, 168, 107, 0.2);
  margin-top: 1rem;
}

.im-contact__submit:hover {
  background: var(--im-green-hover);
  box-shadow: 0 6px 20px rgba(0, 168, 107, 0.3);
  transform: translateY(-1px);
}

.im-contact__submit:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.im-contact__status {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 0.75rem;
  text-align: center;
  font-weight: 500;
}

.im-contact__status--success {
  background: rgba(0, 168, 107, 0.1);
  color: var(--im-green);
  border: 1px solid rgba(0, 168, 107, 0.2);
}

.im-contact__status--error {
  background: rgba(220, 38, 38, 0.1);
  color: #dc2626;
  border: 1px solid rgba(220, 38, 38, 0.2);
}

/* ═══════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════ */
.im-footer {
  padding: 5rem 0;
  background: linear-gradient(to bottom left, var(--im-navy), var(--im-purple));
  text-align: center;
}

.im-footer__inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem;
}

.im-footer__line1 {
  font-size: 1.6rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.im-footer__line2 {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--im-green);
}

.im-footer__links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 2rem;
}

.im-footer__links a {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

.im-footer__links a:hover {
  color: var(--im-white);
}

.im-footer__socials {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-top: 2rem;
}

.im-footer__socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  transition: all 0.3s;
}

.im-footer__socials a:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--im-white);
  transform: translateY(-2px);
}

.im-footer__copyright {
  margin-top: 2rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.4);
}

/* ═══════════════════════════════════════════
   RESPONSIVE - Tablet (md: 768px+)
   ═══════════════════════════════════════════ */
@media (min-width: 768px) {
  .im-nav__links {
    display: flex;
  }

  .im-nav__desktop-only {
    display: inline-block;
  }

  .im-nav__hamburger {
    display: none;
  }

  .im-what-we-do__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .im-how-it-works__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .im-who-we-are__grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

  .im-automation__cta-banner {
    flex-direction: row;
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE - Desktop (lg: 1024px+)
   ═══════════════════════════════════════════ */
@media (min-width: 1024px) {
  .im-hero__headline {
    font-size: 5rem;
  }

  .im-automation__grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .im-how-it-works__grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .im-section-title {
    font-size: 3rem;
  }
}

/* ═══════════════════════════════════════════
   RESPONSIVE - Small (max-width: 480px)
   ═══════════════════════════════════════════ */
@media (max-width: 480px) {
  .im-hero__headline {
    font-size: 2.5rem;
  }

  .im-hero__subtext {
    font-size: 1.1rem;
  }

  .im-section-title {
    font-size: 2rem;
  }

  .im-testimonials__headline-line1,
  .im-testimonials__headline-line2 {
    font-size: 1.6rem;
  }

  .im-footer__line1,
  .im-footer__line2 {
    font-size: 1.3rem;
  }
}

/* ═══════════════════════════════════════════
   SCROLL REVEAL ANIMATIONS
   ═══════════════════════════════════════════ */
.im-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.im-reveal--visible {
  opacity: 1;
  transform: translateY(0);
}

/* Staggered delay for grid children */
.im-reveal-stagger > .im-reveal:nth-child(1) { transition-delay: 0s; }
.im-reveal-stagger > .im-reveal:nth-child(2) { transition-delay: 0.1s; }
.im-reveal-stagger > .im-reveal:nth-child(3) { transition-delay: 0.2s; }
.im-reveal-stagger > .im-reveal:nth-child(4) { transition-delay: 0.3s; }
.im-reveal-stagger > .im-reveal:nth-child(5) { transition-delay: 0.4s; }
.im-reveal-stagger > .im-reveal:nth-child(6) { transition-delay: 0.15s; }
.im-reveal-stagger > .im-reveal:nth-child(7) { transition-delay: 0.2s; }
.im-reveal-stagger > .im-reveal:nth-child(8) { transition-delay: 0.25s; }
.im-reveal-stagger > .im-reveal:nth-child(9) { transition-delay: 0.3s; }
.im-reveal-stagger > .im-reveal:nth-child(10) { transition-delay: 0.35s; }

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  .im-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ═══════════════════════════════════════════
   WORDPRESS OVERRIDES
   ═══════════════════════════════════════════ */

/* Hide WP admin bar overlap */
.admin-bar .im-nav {
  top: 32px;
}

@media (max-width: 782px) {
  .admin-bar .im-nav {
    top: 46px;
  }
}

/* WordPress menu classes - ensure correct display */
.im-nav__menu .menu-item a,
.im-nav__mobile-menu .menu-item a {
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.im-nav__menu .current-menu-item a {
  color: var(--im-navy);
}

/* WordPress sub-menu (for assigned WP menus with children) */
.im-nav__menu .menu-item-has-children {
  position: relative;
}

.im-nav__menu .menu-item-has-children > .sub-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 320px;
  background: var(--im-white);
  border-radius: 1rem;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.12);
  padding: 0.75rem;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
  z-index: 60;
  margin-top: 0.5rem;
  direction: rtl;
  text-align: right;
}

.im-nav__menu .menu-item-has-children:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.im-nav__menu .sub-menu .menu-item a {
  display: block;
  padding: 0.65rem 1rem;
  border-radius: 0.5rem;
  font-size: 1rem;
  color: var(--im-navy);
  transition: background 0.2s;
}

.im-nav__menu .sub-menu .menu-item a:hover {
  background: var(--im-bg-light);
}

/* ═══════════════════════════════════════════
   PRODUCT PAGES (Fun-der & Vibeler)
   ═══════════════════════════════════════════ */

/* Language toggle */
.im-product__lang-toggle {
  position: fixed;
  top: 1rem;
  right: 1.5rem;
  z-index: 100;
}

.im-product__lang-toggle a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s;
}

.im-product__lang-toggle a:hover {
  color: var(--im-white);
}

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

.im-product__hero--funder {
  background: linear-gradient(135deg, #1a3a6c, #2563eb);
}

.im-product__hero--vibeler {
  background: linear-gradient(135deg, var(--im-navy), var(--im-purple));
}

.im-product__hero-content {
  max-width: 800px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.im-product__hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--im-white);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.im-product__hero-subtitle {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 1rem;
  line-height: 1.7;
}

.im-product__hero-desc {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2rem;
}

.im-product__hero-pilot {
  font-size: 1rem;
  color: var(--im-green);
  font-weight: 600;
  margin-bottom: 2rem;
}

.im-product__hero-cta {
  display: inline-block;
  background: var(--im-green);
  color: var(--im-white);
  font-weight: 600;
  font-size: 1.15rem;
  padding: 1rem 2.5rem;
  border-radius: 0.75rem;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 168, 107, 0.3);
}

.im-product__hero-cta:hover {
  background: var(--im-green-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 168, 107, 0.4);
}

.im-product__hero-note {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1.5rem;
}

/* Vibeler floating tags */
.im-vibeler__tags {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 100vh;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.im-vibeler__tag {
  position: absolute;
  color: rgba(255, 255, 255, 0.06);
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Courier New', monospace;
}

.im-vibeler__tag:nth-child(1)  { top: 10%; left: 5%; }
.im-vibeler__tag:nth-child(2)  { top: 15%; right: 8%; }
.im-vibeler__tag:nth-child(3)  { top: 30%; left: 12%; }
.im-vibeler__tag:nth-child(4)  { top: 45%; right: 15%; }
.im-vibeler__tag:nth-child(5)  { top: 60%; left: 3%; }
.im-vibeler__tag:nth-child(6)  { top: 70%; right: 5%; }
.im-vibeler__tag:nth-child(7)  { top: 80%; left: 20%; }
.im-vibeler__tag:nth-child(8)  { top: 85%; right: 20%; }

/* Product Steps */
.im-product__steps {
  padding: 5rem 0;
  background: var(--im-white);
}

.im-product__steps-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-top: 3rem;
}

.im-product__step {
  text-align: center;
  padding: 1.5rem;
}

.im-product__step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--im-purple), #7c3aed);
  color: var(--im-white);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.im-product--funder .im-product__step-num {
  background: linear-gradient(135deg, #1a3a6c, #2563eb);
}

.im-product__step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--im-navy);
  margin-bottom: 0.5rem;
}

.im-product__step-desc {
  font-size: 0.95rem;
  color: var(--im-gray-600);
  line-height: 1.7;
  max-width: 280px;
  margin: 0 auto;
}

/* Product Benefits */
.im-product__benefits {
  padding: 5rem 0;
  background: var(--im-bg-light);
}

.im-product__benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
  margin-top: 2.5rem;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.im-product__benefit {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: var(--im-white);
  padding: 1.25rem 1.5rem;
  border-radius: 0.75rem;
  border: 1px solid var(--im-gray-200);
}

.im-product__benefit svg {
  flex-shrink: 0;
  color: var(--im-green);
}

.im-product__benefit span {
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--im-navy);
}

/* Product Pricing */
.im-product__pricing {
  padding: 5rem 0;
  background: var(--im-white);
}

.im-product__pricing-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 3rem;
  max-width: 1000px;
  margin-left: auto;
  margin-right: auto;
}

.im-product__pricing-card {
  background: var(--im-bg-light);
  border: 1px solid var(--im-gray-200);
  border-radius: 1rem;
  padding: 2rem;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.im-product__pricing-card:hover {
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transform: translateY(-4px);
}

.im-product__pricing-card--popular {
  border-color: var(--im-purple);
  border-width: 2px;
  background: var(--im-white);
}

.im-product__pricing-popular-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--im-purple);
  color: var(--im-white);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.25rem 1rem;
  border-radius: 1rem;
  white-space: nowrap;
}

.im-product__pricing-header h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--im-navy);
  margin-bottom: 0.5rem;
}

.im-product__pricing-badge {
  display: inline-block;
  background: rgba(0, 168, 107, 0.1);
  color: var(--im-green);
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.2rem 0.75rem;
  border-radius: 0.5rem;
}

.im-product__pricing-price {
  margin: 1rem 0;
}

.im-product__pricing-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--im-navy);
}

.im-product__pricing-period {
  font-size: 1rem;
  color: var(--im-gray-400);
}

.im-product__pricing-features {
  list-style: none;
  text-align: start;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.im-product__pricing-features li {
  font-size: 0.95rem;
  color: var(--im-gray-600);
  padding-right: 0;
  position: relative;
  padding-left: 1.5rem;
}

.im-product__pricing-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--im-green);
  font-weight: 700;
}

/* RTL pricing list adjustments for Funder */
.im-product--funder .im-product__pricing-features li {
  padding-left: 0;
  padding-right: 1.5rem;
}

.im-product--funder .im-product__pricing-features li::before {
  left: auto;
  right: 0;
}

.im-product__pricing-btn {
  display: inline-block;
  width: 100%;
  padding: 0.85rem;
  border: 2px solid var(--im-gray-200);
  border-radius: 0.75rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--im-navy);
  background: transparent;
  transition: all 0.3s;
  text-align: center;
}

.im-product__pricing-btn:hover {
  border-color: var(--im-purple);
  color: var(--im-purple);
}

.im-product__pricing-btn--primary {
  background: var(--im-green);
  border-color: var(--im-green);
  color: var(--im-white);
}

.im-product__pricing-btn--primary:hover {
  background: var(--im-green-hover);
  border-color: var(--im-green-hover);
  color: var(--im-white);
}

/* Product CTA Section */
.im-product__cta-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--im-navy), var(--im-purple));
  text-align: center;
}

.im-product--funder .im-product__cta-section {
  background: linear-gradient(135deg, #1a3a6c, #2563eb);
}

.im-product__signup-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
}

.im-product__signup-consent {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
}

.im-product__signup-consent input[type="checkbox"] {
  accent-color: var(--im-green);
}

.im-product__signup-btn {
  display: inline-block;
  background: var(--im-green);
  color: var(--im-white);
  font-family: var(--im-font);
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1rem 2.5rem;
  border: none;
  border-radius: 0.75rem;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 168, 107, 0.3);
}

.im-product__signup-btn:hover {
  background: var(--im-green-hover);
  transform: translateY(-2px);
}

.im-product__privacy-note {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 1rem;
}

/* Custom Content Area (from block editor) */
.im-custom-content {
  padding: 4rem 0;
}

.im-custom-content img {
  max-width: 100%;
  height: auto;
}

.im-custom-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--im-navy);
  margin-bottom: 1rem;
}

.im-custom-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--im-navy);
  margin-bottom: 0.75rem;
}

.im-custom-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--im-gray-600);
  margin-bottom: 1rem;
}

.im-product__custom-content--full {
  width: 100%;
  overflow: hidden;
}

.im-product__custom-content {
  padding: 4rem 0;
}

.im-product__custom-content img {
  max-width: 100%;
  height: auto;
}

.im-product__custom-content h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--im-navy);
  margin-bottom: 1rem;
}

.im-product__custom-content h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--im-navy);
  margin-bottom: 0.75rem;
}

.im-product__custom-content p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--im-gray-600);
  margin-bottom: 1rem;
}

/* Product Footer */
.im-product__footer {
  padding: 2rem;
  text-align: center;
  background: var(--im-navy);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9rem;
}

/* Product page responsive */
@media (min-width: 768px) {
  .im-product__hero-title {
    font-size: 3.5rem;
  }

  .im-product__steps-grid--5 {
    grid-template-columns: repeat(3, 1fr);
  }

  .im-product__pricing-grid {
    grid-template-columns: repeat(3, 1fr);
  }

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

@media (min-width: 1024px) {
  .im-product__steps-grid--5 {
    grid-template-columns: repeat(5, 1fr);
  }

  .im-product__hero-title {
    font-size: 4rem;
  }
}
