/* General Setup */
:root {
  --bg-color: #0d1117;
  --bg-secondary-color: #010409;
  --card-bg-color: #161b22;
  --text-color: #8b949e;
  --heading-color: #f0f6fc;
  --border-color: #30363d;
  --primary-color: #388bfd;
  --primary-hover-color: #58a6ff;
  --secondary-btn-bg: #21262d;
  --secondary-btn-text: #c9d1d9;
  --secondary-btn-border: #30363d;
}

body.light-mode {
  --bg-color: #ffffff;
  --bg-secondary-color: #f7f9fc;
  --card-bg-color: #ffffff;
  --text-color: #555e68;
  --heading-color: #1a202c;
  --border-color: #e2e8f0;
  --primary-color: #2563eb;
  --primary-hover-color: #1d4ed8;
  --secondary-btn-bg: #f1f5f9;
  --secondary-btn-text: #334155;
  --secondary-btn-border: #cbd5e1;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Cairo", "Inter", sans-serif;
  background-color: var(--bg-color);
  color: var(--text-color);
  direction: rtl;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1200px;
  margin: auto;
  padding: 0 2rem;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cairo", "Inter", sans-serif;
  font-weight: 800;
  color: var(--heading-color);
  margin-bottom: 1rem;
  line-height: 1.3;
}

p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--text-color);
}

a {
  color: var(--primary-color);
  text-decoration: none;
}

section {
  position: relative;
  overflow: hidden;
}

/* Header */
.main-header {
  background: rgba(13, 17, 23, 0.8);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: background-color 0.3s ease;
  border-bottom: 1px solid var(--border-color);
}

body.light-mode .main-header {
  background: rgba(255, 255, 255, 0.8);
}


body.light-mode .logo-light {
  display: block;
}
body:not(.light-mode) .logo-light {
	display: none;
}

body.light-mode .logo-dark {
	display: none;	
  
}
body:not(.light-mode) .logo-dark {
display: block;
}

.main-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: block;
  line-height: 1;
}

.logo2 {
  display: none;
}

.logo img {
  max-height: 55px;
  width: auto;
  display: block;
}

.main-nav {
  flex-grow: 1;
  text-align: center;
}

.main-nav ul {
  list-style: none;
  display: inline-flex;
}

.main-nav ul li a {
  color: var(--text-color);
  padding: 0.5rem 1rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

.main-nav ul li a:hover {
  color: var(--heading-color);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.login-link {
  color: var(--text-color);
  font-weight: 700;
  transition: color 0.3s ease;
}

.login-link:hover {
  color: var(--heading-color);
}

.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
}

.theme-toggle-btn:hover {
  color: var(--heading-color);
}

.sun-icon {
  display: none;
}

body.light-mode .moon-icon {
  display: none;
}

body.light-mode .sun-icon {
  display: block;
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 12px;
  font-weight: 700;
  transition: all 0.3s ease;
  border: 1px solid transparent;
  cursor: pointer;
  font-size: 1rem;
  font-family: "Cairo", sans-serif;
}

.btn-primary {
  background-color: var(--primary-color);
  color: #fff;
  box-shadow: 0 4px 14px 0 rgba(56, 139, 253, 0.25);
}

.btn-primary:hover {
  background-color: var(--primary-hover-color);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: var(--secondary-btn-bg);
  color: var(--secondary-btn-text);
  border-color: var(--secondary-btn-border);
}

.btn-secondary:hover {
  border-color: var(--primary-color);
  color: var(--heading-color);
}

.btn-large {
  padding: 15px 30px;
  font-size: 1.1rem;
  width: 200px;
}

/* Hero Section */
.hero-section {
  text-align: center;
  height: auto;
  background-color: var(--bg-color);
}

.hero-section .container {
  height: 100%;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.hero-content-container {
  position: static;
  top: 0;
  width: 100%;
  padding-top: 10vh;
  z-index: 5;
}

.hero-text-and-icons {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.hero-content {
  position: relative;
  z-index: 5;
}

.hero-headline {
  font-size: 4rem;
  font-weight: 900;
  line-height: 1.2;
}

.hero-subheadline {
  font-size: 1.25rem;
  margin: 1.5rem 0 2.5rem 0;
  max-width: 650px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.hero-cta {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.hero-image-container {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  perspective: 1500px;
}

.hero-image {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 -15px 30px rgba(0, 0, 0, 0.1);
  border: 1px solid var(--border-color);
  transition: transform 0.3s ease-out;
  transform-style: preserve-3d;
  will-change: transform;
  transform: rotateX(25deg) scale(0.9);
}

@keyframes float {
  0% {
    transform: translateY(0px) rotate(0deg);
  }

  50% {
    transform: translateY(-20px) rotate(5deg);
  }

  100% {
    transform: translateY(0px) rotate(0deg);
  }
}

/* Features Section */
.features-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-color);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header h2 {
  font-size: 2.8rem;
  font-weight: 900;
}

.feature-showcase {
  padding-top: 4rem;
}

.feature-block {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 6rem;
}

.feature-block:last-child {
  margin-bottom: 0;
}

.feature-block:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-text,
.feature-visual {
  flex: 1;
}

.feature-tag {
  display: inline-block;
  padding: 5px 15px;
  background-color: rgba(56, 139, 253, 0.1);
  color: var(--primary-color);
  font-weight: 700;
  border-radius: 20px;
  margin-bottom: 1rem;
}

.feature-text h3 {
  font-size: 2.25rem;
  font-weight: 800;
}

.feature-text p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.feature-text ul {
  list-style: none;
  padding: 0;
}

.feature-text ul li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 1.05rem;
  font-weight: 600;
}

.feature-text ul li i {
  color: var(--primary-color);
  width: 20px;
  height: 20px;
}

.feature-visual img {
  width: 100%;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

.feature-slider-container {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid var(--border-color);
  box-shadow: 0 20px 40px -15px rgba(0, 0, 0, 0.3);
}

.feature-slider {
  display: flex;
  transition: transform 0.5s ease;
  direction: ltr;
}

.feature-slide {
  min-width: 100%;
}

.feature-slide img {
  width: 100%;
  height: auto;
  display: block;
  border: none;
  box-shadow: none;
  border-radius: 0;
}

.feature-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(13, 17, 23, 0.8);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  opacity: 0;
}

.feature-slider-container:hover .feature-nav-btn {
  opacity: 0.8;
}

.feature-nav-btn:hover {
  opacity: 1 !important;
  transform: translateY(-50%) scale(1.1);
  background: rgba(56, 139, 253, 0.9);
}

.feature-prev-btn {
  left: 15px;
}

.feature-next-btn {
  right: 15px;
}

body.light-mode .feature-nav-btn {
  background: rgba(255, 255, 255, 0.9);
  color: var(--heading-color);
}

body.light-mode .feature-nav-btn:hover {
  background: var(--primary-color);
  color: #fff;
}

/* Templates */
.template-section {
  padding: 100px 0;
  border-bottom: 1px solid var(--border-color);
  background-color: var(--bg-secondary-color);
}

.category-buttons {
  margin-top: 2rem;
}

.category-btn {
  border: 2px solid var(--border-color);
  background-color: var(--secondary-btn-bg);
  color: var(--secondary-btn-text);
  letter-spacing: 0.5px;
  width: 220px;
}

.category-btn:hover {
  background-color: var(--card-bg-color);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.category-btn.active {
  background-color: var(--primary-color);
  color: #fff;
  border-color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(56, 139, 253, 0.3);
}

.cards-container {
  position: relative;
  min-height: 300px;
}

.category-cards {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: relative;
  max-height: 860px;
}

.category-cards.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.card-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2%;
  row-gap: 2rem;
  width: 100%;
}

.template-card {
  background: var(--card-bg-color);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  width: 32%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
}

.template-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.3);
  border-color: var(--primary-color);
}

.card-image {
  width: 100%;
  aspect-ratio: 1.2;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.card-content {
  padding: 1.5rem;
  padding-top: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: auto;
}

.voir-btn {
  letter-spacing: 1px;
  padding: 0.5rem 2rem;
  white-space: nowrap;
}

.gradient-overlay {
  position: absolute;
  bottom: -5px;
  left: -5px;
  width: calc(100% + 10px);
  height: 50%;
  background: linear-gradient(180deg,
      transparent 0%,
      var(--bg-secondary-color) 94%);
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.view-all-text {
  font-weight: bold;
  font-size: 1.5rem;
  color: var(--heading-color);
  padding: 1rem 2rem;
  pointer-events: all;
}

@media (max-width: 768px) {
  .category-cards {
    max-height: min(250vw, 1200px);
    overflow: hidden;
  }

  .card-grid {
    flex-direction: column;
    align-items: center;
  }

  .card-content {
    padding: 1rem;
  }

  .template-card {
    width: 90%;
    max-width: 400px;
  }

  .gradient-overlay {
    pointer-events: none;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .card-content h3 {
    font-size: 0.75rem;
  }

  .voir-btn {
    letter-spacing: 0.5px;
    padding: 0.3rem 1.2rem;
  }
}

.fade-in {
  animation: fadeIn 0.4s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Core Features Section */
.core-features-section {
  padding: 100px 0;
  background-color: var(--bg-color);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--card-bg-color);
  padding: 2.5rem 2rem;
  border: 1px solid var(--border-color);
  border-radius: 12px;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background-color: rgba(56, 139, 253, 0.1);
  color: var(--primary-color);
  margin-bottom: 1.5rem;
}

.feature-icon i {
  width: 28px;
  height: 28px;
}

.feature-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

/* Templates Showcase Section */
.templates-showcase-section {
  padding: 100px 0;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary-color);
}

.image-showcase {
  max-width: 1200px;
  margin: 4rem auto 0 auto;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  width: 100%;
  -webkit-mask: linear-gradient(to bottom,
      transparent,
      black 10%,
      black 90%,
      transparent);
  mask: linear-gradient(to bottom,
      transparent,
      black 10%,
      black 90%,
      transparent);
}

.image-row {
  display: flex;
  flex-direction: row;
  width: max-content;
}

.image-row figure {
  margin: 10px;
  height: 150px;
}

.image-row img {
  height: 100%;
  width: auto;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  object-fit: cover;
}

.image-row[data-direction="right-to-left"] {
  animation: scrollHorizontal 30s linear infinite;
}

.image-row[data-direction="left-to-right"] {
  animation: scrollHorizontal 30s linear infinite reverse;
}

@keyframes scrollHorizontal {
  from {
    transform: translateX(0%);
  }

  to {
    transform: translateX(50%);
  }
}

@media (min-width: 768px) {
  .image-showcase {
    flex-direction: row;
    height: 100vh;
  }

  .image-row {
    flex-direction: column;
    width: 33.333%;
    height: max-content;
  }

  .image-row figure {
    width: 90%;
    height: auto;
    margin: 15px auto;
  }

  .image-row img {
    width: 100%;
    height: auto;
  }

  .image-row[data-direction="right-to-left"] {
    animation: scrollVertical 40s linear infinite;
  }

  .image-row[data-direction="left-to-right"] {
    animation: scrollVertical 40s linear infinite reverse;
  }

  @keyframes scrollVertical {
    from {
      transform: translateY(0%);
    }

    to {
      transform: translateY(-50%);
    }
  }
}

/* Testimonials */
.testimonials-section,
.pricing-section,
.faq-section {
  padding: 100px 0;
}

.testimonials-section,
.faq-section {
  background-color: var(--bg-color);
}

.testimonials-section .container {
  direction: ltr;
}

.slider-container {
  position: relative;
  overflow: hidden;
  margin: 0 auto;
  padding: 10px;
}

.testimonials-slider {
  display: flex;
  transition: transform 0.5s ease;
}

.testimonial-card {
  background: var(--card-bg-color);
  border-radius: 12px;
  border: 1px solid var(--border-color);
  padding: 25px;
  margin: 10px;
  flex: 0 0 calc(100% - 20px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.testimonial-image {
  width: 120px;
  height: 120px;
  border-radius: 8px;
  object-fit: cover;
  margin-bottom: 25px;
  border: 2px solid var(--primary-color);
}

.testimonial-content {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  direction: rtl;
}

.testimonial-card p {
  font-size: 1.1rem;
  font-style: italic;
  margin-bottom: 20px;
  line-height: 1.8;
  color: var(--text-color);
}

.testimonial-author {
  margin-top: auto;
}

.testimonial-author h4 {
  margin: 0 0 5px 0;
  font-size: 1.2rem;
  color: var(--heading-color);
}

.testimonial-author span {
  color: var(--text-color);
  font-size: 0.95rem;
}

.slider-dots {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.dot {
  width: 12px;
  height: 12px;
  background-color: var(--border-color);
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.dot.active {
  background-color: var(--primary-color);
}

@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 calc(50% - 20px);
  }
}

@media (min-width: 992px) {
  .testimonial-card {
    flex: 0 0 calc(33.333% - 20px);
  }
}

/* Pricing */
.pricing-section {
  background-color: var(--bg-secondary-color);
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5%;
  direction: ltr;
}

.pricing-card {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  padding: 2.5rem 1rem 0 1rem;
  transition: all 0.3s ease;
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  text-align: center;
  flex: 1;
}

.pricing-card.popular {
  border-color: var(--primary-color);
  z-index: 10;
}

.popular-badge {
  position: absolute;
  top: -15px;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--primary-color);
  color: #fff;
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
}

.pricing-desc {
  font-size: 1rem;
}

.pricing-card .price {
  font-size: 3.5rem;
  line-height: 1;
  font-weight: 900;
  color: var(--heading-color);
}

.pricing-card .price sup {
  font-size: 1.5rem;
  font-weight: 700;
  top: -1.5rem;
}

.pricing-card .price span {
  font-size: 1rem;
  font-weight: 400;
  color: var(--text-color);
}

.pricing-card ul {
  list-style: none;
  margin: 2rem 0;
  flex-grow: 1;
  text-align: left;
}

.pricing-card ul li {
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1;
}

.pricing-card ul li i {
  color: var(--primary-color);
}

.pricing-card .btn {
  margin-top: auto;
}

/* FAQ */
.faq-accordion {
  max-width: 800px;
  margin: auto;
}

.faq-item {
  background: var(--card-bg-color);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--heading-color);
}

.faq-question i {
  transition: transform 0.3s ease;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem 1.5rem;
  display: none;
}

/* Clients Section */
.clients-section {
  padding: 80px 0;
  background-color: var(--bg-secondary-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
}

.section-subtitle {
  text-align: center;
  color: var(--text-color);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 3rem;
}

.logos-container {
  overflow: hidden;
  position: relative;
  padding: 2rem 0;
  margin: 2rem 0;
}

.logos-container::before,
.logos-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}

.logos-container::before {
  right: 0;
  background: linear-gradient(to left, var(--bg-secondary-color), transparent);
}

.logos-container::after {
  left: 0;
  background: linear-gradient(to right, var(--bg-secondary-color), transparent);
}

.logos-scroll {
  display: flex;
  animation: scroll-rtl 30s linear infinite;
  width: fit-content;
}

.logos-scroll:hover {
  animation-play-state: paused;
}

.logo-item {
  flex-shrink: 0;
  margin: 0 2rem;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0.9;
}

.logo-item:hover {
  opacity: 1;
  transform: scale(1.1);
}

.logo-item img {
  height: 100%;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  filter: grayscale(100%);
  transition: filter 0.3s ease;
}

.logo-item:hover img {
  filter: grayscale(0%);
}

.logo-placeholder {
  width: 180px;
  height: 60px;
  background: var(--secondary-btn-bg);
  border: 1px solid var(--border-color);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--secondary-btn-text);
  transition: all 0.3s ease;
}

.logo-item:hover .logo-placeholder {
  background: var(--primary-color);
  border-color: var(--primary-hover-color);
  color: white;
  transform: translateY(-2px);
}

@keyframes scroll-rtl {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(50%);
  }
}

@media (max-width: 768px) {
  .logo-item {
    margin: 0 1rem;
    height: 50px;
  }

  .logo-placeholder {
    width: 150px;
    height: 50px;
    font-size: 0.9rem;
  }

  .logos-container::before,
  .logos-container::after {
    width: 50px;
  }
}

/* Footer */
.main-footer {
  padding: 5rem 0 2rem 0;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-secondary-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-bottom: 4rem;
}

.footer-col .logo {
  margin-bottom: 1rem;
}

.footer-about {
  font-size: 1rem;
  margin-bottom: 1.5rem;
}

.social-links {
  display: flex;
  gap: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--secondary-btn-bg);
  color: var(--text-color);
  transition: all 0.3s ease;
}

.social-links a:hover {
  background-color: var(--primary-color);
  color: #fff;
}

.footer-col h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

.footer-links,
.contact-info {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-color);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.contact-info li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1rem;
}

.contact-info li i {
  flex-shrink: 0;
  margin-top: 4px;
  color: var(--primary-color);
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

/* Scroll Animation */
.reveal-from-bottom,
.reveal-from-left,
.reveal-from-right {
  opacity: 0;
  filter: blur(5px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out,
    filter 0.6s ease-out;
}

.reveal-from-bottom {
  transform: translateY(50px);
}

.reveal-from-left {
  transform: translateX(-50px);
}

.reveal-from-right {
  transform: translateX(50px);
}

.is-visible {
  opacity: 1;
  filter: blur(0);
  transform: translate(0, 0);
}

.features-grid.is-visible .feature-card,
.pricing-grid.is-visible .pricing-card,
.testimonials-grid.is-visible .testimonial-card {
  transition-delay: 0s;
}

.features-grid.is-visible .feature-card:nth-child(2),
.pricing-grid.is-visible .pricing-card:nth-child(2),
.testimonials-grid.is-visible .testimonial-card:nth-child(2) {
  transition-delay: 0.1s;
}

.features-grid.is-visible .feature-card:nth-child(3),
.pricing-grid.is-visible .pricing-card:nth-child(3) {
  transition-delay: 0.2s;
}

.features-grid.is-visible .feature-card:nth-child(4) {
  transition-delay: 0.3s;
}

.features-grid.is-visible .feature-card:nth-child(5) {
  transition-delay: 0.4s;
}

.features-grid.is-visible .feature-card:nth-child(6) {
  transition-delay: 0.5s;
}

/* Responsive */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--heading-color);
  cursor: pointer;
  padding: 5px;
}

.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  z-index: 2000;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.23, 1, 0.32, 1);
}

body.mobile-menu-open .mobile-nav-overlay {
  transform: translateX(0);
}

.mobile-menu-close {
  position: absolute;
  top: 1.5rem;
  right: 2rem;
  background: none;
  border: none;
  color: var(--heading-color);
  cursor: pointer;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: center;
}

.mobile-nav ul li {
  margin-bottom: 2rem;
}

.mobile-nav ul li a {
  color: var(--heading-color);
  font-size: 1.75rem;
  font-weight: 700;
  text-decoration: none;
}

body.mobile-menu-open {
  overflow: hidden;
}

@media (max-width: 992px) {
  .main-nav,
  .header-actions .login-link,
  .header-actions .btn-primary,
  .logo1 {
    display: none;
  }

  .mobile-menu-toggle,
  .logo2 {
    display: block;
  }

  .feature-block {
    flex-direction: column !important;
    gap: 2.5rem;
    text-align: center;
  }

  .feature-text {
    text-align: right;
  }

  .feature-visual {
    width: 90%;
    margin: 0 auto;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pricing-desc {
    font-size: 0.75rem;
  }

  .pricing-card .price {
    font-size: 2.5rem;
  }

  .pricing-card {
    padding: 2.5rem 1rem 0 1rem;
  }

  .pricing-card ul li {
    margin-bottom: 0.5rem;
  }

  .hero-headline {
    font-size: 3.2rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 0.5rem;
  }

  .hero-headline {
    font-size: 8.5vw;
    line-height: 1.5;
  }

  .hero-subheadline {
    font-size: 3.5vw;
    line-height: 2;
  }

  .hero-cta .btn {
    font-size: min(4vw, 1.1rem);
    padding: 15px;
  }

  .hero-image {
    border-radius: 10px;
  }

  .section-header h2 {
    font-size: 2.2rem;
  }

  .feature-text h3 {
    font-size: 1.8rem;
  }

  .feature-slider-container {
    border-radius: 8px;
    transform: scale(1.1);
  }

  .testimonials-grid {
    flex-direction: column;
    gap: 8vw;
  }

  .pricing-card {
    width: 100%;
  }

  .pricing-desc {
    font-size: 1rem;
  }

  .pricing-card .price {
    font-size: 3.5rem;
  }

  .pricing-card ul li {
    margin-bottom: 1rem;
  }

  .pricing-card {
    padding: 2.5rem 2rem 0 2rem;
  }

  .footer-grid {
    text-align: center;
  }

  .social-links,
  .contact-info li,
  .footer-links {
    justify-content: center;
  }

  .contact-info li {
    text-align: right;
  }
}

@media (max-width: 600px) {
  .showcase-wrapper {
    gap: 1rem;
  }

  .showcase-column {
    gap: 1rem;
  }

  .showcase-item {
    width: 280px;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
    margin-bottom: 50px;
  }
}