.hero-section {
  padding-top: 4rem;
  padding-bottom: 4rem;
}
@media (min-width: 992px) {
  .hero-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}
[dir=rtl] .hero-section, .rtl .hero-section {
  text-align: right;
}
[dir=rtl] .hero-section .row, .rtl .hero-section .row {
  flex-direction: row-reverse;
}

.hero-badge {
  font-size: 0.75rem;
  font-weight: 500;
  color: #9ca3af;
  letter-spacing: 0.1em;
  padding: 0.5rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 50px;
}
body.dark-mode .hero-badge {
  color: #6b7280;
  border-color: #234348;
}

.hero-title {
  font-size: 2.5rem;
  line-height: 1.1;
}
@media (min-width: 768px) {
  .hero-title {
    font-size: 3.5rem;
  }
}
@media (min-width: 992px) {
  .hero-title {
    font-size: 4rem;
  }
}

.hero-description {
  color: #4b5563;
  max-width: 500px;
}
body.dark-mode .hero-description {
  color: #9ca3af;
}
[dir=rtl] .hero-description, .rtl .hero-description {
  margin-left: auto;
  margin-right: 0;
}

.hero-developer-count {
  font-size: 0.875rem;
}
[dir=rtl] .hero-developer-count i, .rtl .hero-developer-count i {
  margin-left: 0.5rem;
  margin-right: 0;
}

.hero-image-placeholder {
  position: relative;
}

.laptop-mockup {
  background: linear-gradient(135deg, #1a1a2e, #16213e);
  border-radius: 1rem;
  padding: 1rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.laptop-screen {
  background: #0d1117;
  border-radius: 0.5rem;
  overflow: hidden;
  aspect-ratio: 16/10;
}

.dashboard-preview {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.dashboard-header {
  display: flex;
  gap: 0.375rem;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid #21262d;
}
.dashboard-header .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.dashboard-header .dot.red {
  background: #ff5f56;
}
.dashboard-header .dot.yellow {
  background: #ffbd2e;
}
.dashboard-header .dot.green {
  background: #27ca40;
}

.dashboard-content {
  display: flex;
  flex: 1;
}

.dashboard-sidebar {
  width: 60px;
  background: #161b22;
  border-right: 1px solid #21262d;
}

.dashboard-main {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.dashboard-stat {
  height: 60px;
  background: linear-gradient(135deg, #238636, #1f6feb);
  border-radius: 0.5rem;
}

.dashboard-chart {
  flex: 1;
  background: #21262d;
  border-radius: 0.5rem;
}

.trusted-by-section {
  border-top: 1px solid #e5e7eb;
  border-bottom: 1px solid #e5e7eb;
}
body.dark-mode .trusted-by-section {
  border-top-color: #234348;
  border-bottom-color: #234348;
}
[dir=rtl] .trusted-by-section .trusted-by-wrapper, .rtl .trusted-by-section .trusted-by-wrapper {
  flex-direction: row-reverse;
}

.trusted-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
}

.trusted-logo {
  opacity: 0.6;
  transition: opacity 250ms ease;
}
.trusted-logo:hover {
  opacity: 1;
}

.trusted-logo-text {
  font-weight: 600;
  font-size: 1rem;
  color: #4b5563;
}
body.dark-mode .trusted-logo-text {
  color: #9ca3af;
}

.trusted-logo-img {
  height: 24px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 250ms ease;
}

.trusted-logo:hover .trusted-logo-img {
  filter: grayscale(0%);
  opacity: 1;
}

.forum-announcement-bar {
  background: #f8f9fa;
  border-bottom: 1px solid #e5e7eb;
  padding: 1rem 0;
}
body.dark-mode .forum-announcement-bar {
  background: #112022;
  border-bottom-color: #234348;
}

.forum-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
[dir=rtl] .forum-bar-inner, .rtl .forum-bar-inner {
  flex-direction: row-reverse;
}

.forum-bar-start {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
[dir=rtl] .forum-bar-start, .rtl .forum-bar-start {
  flex-direction: row-reverse;
}

.forum-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(249, 115, 22, 0.1);
  border: 1px solid rgba(249, 115, 22, 0.2);
  border-radius: 50%;
  color: #f97316;
  font-size: 0.875rem;
  box-shadow: 0 0 10px rgba(249, 115, 22, 0.1);
}

.forum-content {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
[dir=rtl] .forum-content, .rtl .forum-content {
  flex-direction: row-reverse;
}

.forum-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
}
body.dark-mode .forum-label {
  color: #6b7280;
}

.forum-topic {
  font-size: 0.875rem;
  font-weight: 500;
  color: #1a1a1a;
  text-decoration: none;
  transition: color 250ms ease;
}
.forum-topic:hover {
  color: #20d3ee;
}
body.dark-mode .forum-topic {
  color: #fff;
}

.forum-replies {
  font-size: 0.75rem;
  font-weight: 400;
  color: #9ca3af;
  margin-right: 0.5rem;
}
body.dark-mode .forum-replies {
  color: #6b7280;
}

.forum-bar-link {
  font-size: 0.75rem;
  font-weight: 700;
  color: #20d3ee;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 250ms ease;
}
.forum-bar-link:hover {
  color: #67e8f9;
  text-decoration: underline;
}
[dir=rtl] .forum-bar-link, .rtl .forum-bar-link {
  flex-direction: row-reverse;
}

.announcement-banner {
  background: linear-gradient(90deg, rgba(32, 211, 238, 0.15), rgba(139, 92, 246, 0.15));
  border: 1px solid rgba(32, 211, 238, 0.3);
  border-radius: 0.75rem;
  padding: 1rem 1.5rem;
}
[dir=rtl] .announcement-banner, .rtl .announcement-banner {
  direction: rtl;
}
[dir=rtl] .announcement-banner .d-flex, .rtl .announcement-banner .d-flex {
  flex-direction: row-reverse;
}

.announcement-icon {
  font-size: 1.25rem;
}

.announcement-text {
  color: #1a1a1a;
  font-weight: 500;
}
body.dark-mode .announcement-text {
  color: #ffffff;
}

.announcement-link {
  color: #20d3ee;
  font-weight: 600;
  text-decoration: none;
  transition: color 250ms ease;
}
.announcement-link:hover {
  color: #a5f3fc;
}

.catalog-section .section-title,
.features-section .section-title,
.blog-section .section-title {
  margin-bottom: 0;
}

.plugin-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 250ms ease;
}
.plugin-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
body.dark-mode .plugin-card {
  background: #1a2c30;
  border-color: #234348;
}
body.dark-mode .plugin-card:hover {
  border-color: #2c555b;
}
[dir=rtl] .plugin-card, .rtl .plugin-card {
  text-align: right;
}

.plugin-card-body {
  padding: 1.5rem;
  flex: 1;
}

.plugin-card-footer {
  padding: 1rem 1.5rem;
  border-top: 1px solid #e5e7eb;
  display: flex;
  justify-content: flex-end;
}
body.dark-mode .plugin-card-footer {
  border-top-color: #234348;
}
[dir=rtl] .plugin-card-footer, .rtl .plugin-card-footer {
  justify-content: flex-start;
}

.plugin-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(32, 211, 238, 0.1);
  border-radius: 0.75rem;
  font-size: 1.5rem;
}

.plugin-title {
  color: #1a1a1a;
}
body.dark-mode .plugin-title {
  color: #ffffff;
}

.plugin-description {
  font-size: 0.875rem;
  line-height: 1.6;
}

.newsletter-wrapper {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  padding: 2rem;
}
body.dark-mode .newsletter-wrapper {
  background: #1a2c30;
  border-color: #234348;
}
[dir=rtl] .newsletter-wrapper .row, .rtl .newsletter-wrapper .row {
  flex-direction: row-reverse;
}

.newsletter-icon {
  font-size: 2rem;
}
[dir=rtl] .newsletter-icon, .rtl .newsletter-icon {
  text-align: right;
}

.newsletter-form .form-control {
  background: #f8f9fa;
  border-color: #e5e7eb;
  color: #1a1a1a;
}
.newsletter-form .form-control::placeholder {
  color: #9ca3af;
}
.newsletter-form .form-control:focus {
  background: #f1f5f9;
  border-color: #20d3ee;
  box-shadow: 0 0 0 0.25rem rgba(32, 211, 238, 0.25);
}
body.dark-mode .newsletter-form .form-control {
  background: #152629;
  border-color: #234348;
  color: #ffffff;
}
body.dark-mode .newsletter-form .form-control::placeholder {
  color: #6b7280;
}
body.dark-mode .newsletter-form .form-control:focus {
  background: #1a2c30;
}
[dir=rtl] .newsletter-form .input-group, .rtl .newsletter-form .input-group {
  flex-direction: row-reverse;
}
[dir=rtl] .newsletter-form .form-control, .rtl .newsletter-form .form-control {
  border-radius: 0 0.5rem 0.5rem 0 !important;
  text-align: right;
}
[dir=rtl] .newsletter-form .btn, .rtl .newsletter-form .btn {
  border-radius: 0.5rem 0 0 0.5rem !important;
}

.feature-card {
  padding: 2rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  transition: all 250ms ease;
}
.feature-card:hover {
  border-color: #d1d5db;
  transform: translateY(-4px);
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
body.dark-mode .feature-card {
  background: #1a2c30;
  border-color: #234348;
}
body.dark-mode .feature-card:hover {
  border-color: #2c555b;
}
[dir=rtl] .feature-card, .rtl .feature-card {
  text-align: right;
}

.feature-icon-wrapper {
  display: flex;
  justify-content: center;
}
[dir=rtl] .feature-icon-wrapper, .rtl .feature-icon-wrapper {
  justify-content: flex-end;
}

.feature-icon {
  width: 64px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1rem;
  font-size: 1.75rem;
  color: #fff;
}

.feature-title {
  color: #1a1a1a;
}
body.dark-mode .feature-title {
  color: #ffffff;
}

.feature-description {
  font-size: 0.875rem;
  line-height: 1.6;
}

.blog-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 1rem;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all 250ms ease;
}
.blog-card:hover {
  border-color: #d1d5db;
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
}
.blog-card:hover .blog-card-image img {
  transform: scale(1.05);
}
body.dark-mode .blog-card {
  background: #1a2c30;
  border-color: #234348;
}
body.dark-mode .blog-card:hover {
  border-color: #2c555b;
}
[dir=rtl] .blog-card, .rtl .blog-card {
  text-align: right;
}

.blog-card-image {
  aspect-ratio: 16/9;
  overflow: hidden;
  display: block;
}
.blog-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 250ms ease;
}

.blog-card-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
  color: #9ca3af;
  font-size: 2rem;
}
body.dark-mode .blog-card-placeholder {
  background: #152629;
  color: #6b7280;
}

.blog-card-body {
  padding: 1.25rem;
  flex: 1;
}

.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
[dir=rtl] .blog-card-meta, .rtl .blog-card-meta {
  flex-direction: row-reverse;
  justify-content: flex-start;
}

.blog-card-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: #20d3ee;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card-title a {
  color: #1a1a1a;
  text-decoration: none;
  transition: color 250ms ease;
}
.blog-card-title a:hover {
  color: #20d3ee;
}
body.dark-mode .blog-card-title a {
  color: #ffffff;
}

.py-lg-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}
@media (min-width: 992px) {
  .py-lg-6 {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

[dir=rtl] .section-header,
.rtl .section-header {
  flex-direction: row-reverse;
}
[dir=rtl] .section-header > div,
.rtl .section-header > div {
  text-align: right;
}
[dir=rtl] .plugin-meta,
.rtl .plugin-meta {
  flex-direction: row-reverse;
  justify-content: flex-start;
}
[dir=rtl] .plugin-rating,
.rtl .plugin-rating {
  flex-direction: row-reverse;
}
[dir=rtl] .plugin-rating .ms-1,
.rtl .plugin-rating .ms-1 {
  margin-left: 0 !important;
  margin-right: 0.25rem !important;
}
[dir=rtl] .plugin-downloads .me-1,
.rtl .plugin-downloads .me-1 {
  margin-right: 0 !important;
  margin-left: 0.25rem !important;
}
[dir=rtl] .hero-actions,
.rtl .hero-actions {
  justify-content: flex-start;
}
[dir=rtl] .features-section .text-center,
.rtl .features-section .text-center {
  text-align: right !important;
}
