:root {
  --primary: #9945ff;
  --primary-dark: #7a37cc;
  --primary-light: #b47aff;
  --secondary: #14f195;
  --secondary-dark: #10c278;
  --secondary-light: #4af5af;
  --accent: #fd951f;
  --accent-dark: #e47c00;
  --accent-light: #ffb25e;
  --dark: #0e0333;
  --dark-light: #1a0a5e;
  --gray-dark: #222222;
  --gray: #555555;
  --gray-light: #f8f9fa;
  --white: #ffffff;

  --font-family: "SF Pro Display", -apple-system, BlinkMacSystemFont, "Segoe UI",
    Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  --border-radius: 12px;
  --box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  --transition: all 0.3s ease;
}

/* * {
  box-sizing: border-box;
} */

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  line-height: 1.5;
  color: var(--dark);
  background-color: var(--gray-light);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 700;
  line-height: 1.2;
}

a {
  text-decoration: none;
  transition: var(--transition);
}

img {
  max-width: 100%;
}

/* Navbar */
.navbar {
  padding: 1rem 0;
  transition: var(--transition);
  background: linear-gradient(135deg, var(--dark), var(--dark-light));
}

.navbar-scrolled {
  background-color: rgba(14, 3, 51, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  padding: 0.75rem 0;
}

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
  padding: 0.5rem 1rem;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--white);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--white) !important;
}

.logo-container {
  width: 44px;
  height: 44px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-border-glow {
  padding: 4px;
  border-radius: 50%;
  background: linear-gradient(135deg, #9945ff 0%, #14f195 100%);
  box-shadow: 0 0 24px 6px rgba(153, 69, 255, 0.35),
    0 0 48px 12px rgba(20, 241, 149, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: logoPulse 2.5s infinite alternate;
}

.logo-rotate {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, #1a0a5e 60%, #9945ff 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: rotate 10s linear infinite;
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(153, 69, 255, 0.4);
}

.img-logo {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 2.5px solid #fff;
  box-shadow: 0 2px 12px rgba(153, 69, 255, 0.18);
  background: #fff;
  transition: transform 0.3s;
  /* Center the image perfectly inside the rotating div */
  display: block;
  margin: 0 auto;
}

.logo-rotate:hover .img-logo {
  transform: scale(1.08) rotate(-8deg);
}

@keyframes logoPulse {
  0% {
    box-shadow: 0 0 24px 6px rgba(153, 69, 255, 0.25),
      0 0 48px 12px rgba(20, 241, 149, 0.1);
  }
  100% {
    box-shadow: 0 0 40px 16px rgba(153, 69, 255, 0.4),
      0 0 64px 24px rgba(20, 241, 149, 0.2);
  }
}

.logo-text {
  color: var(--white);
  font-weight: 800;
  font-size: 1.3rem;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.signup-btn {
  background-color: var(--primary);
  border-color: var(--primary);
  border-radius: 50px;
  padding: 0.5rem 1.25rem;
  font-weight: 500;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(153, 69, 255, 0.3);
}

.signup-btn:hover,
.signup-btn:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(153, 69, 255, 0.4);
}

.signup-btn.active {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, var(--dark), var(--dark-light));
  color: var(--white);
  overflow: hidden;
  padding: 6rem 0;
}

.hero-section h1 {
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  font-weight: 800;
}

.hero-section .lead {
  font-size: 1.25rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.text-gradient {
  background: linear-gradient(to right, var(--secondary), var(--primary));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: inline-block;
}

.hero-btns .btn {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.hero-btns .btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(153, 69, 255, 0.3);
}

.hero-btns .btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(153, 69, 255, 0.4);
}

.hero-btns .btn-outline-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.token-stats {
  display: flex;
  gap: 2rem;
}

.stat-item {
  display: flex;
  flex-direction: column;
}

.stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white) !important;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
}

.hero-animation {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  position: relative;
}

.rotation-visual {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.coin-stack {
  position: relative;
  width: 200px;
  height: 200px;
}

.coin {
  position: absolute;
  width: 180px;
  height: 180px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  box-shadow: 0 8px 32px rgba(153, 69, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
}

.coin::before {
  content: "$SHF";
  color: var(--white);
  font-weight: 800;
  font-size: 2.5rem;
}

.c1 {
  top: 0;
  left: 0;
  animation: float1 5s ease-in-out infinite;
  z-index: 3;
}

.c2 {
  top: 20px;
  left: 20px;
  opacity: 0.9;
  animation: float2 4s ease-in-out infinite;
  z-index: 2;
}

.c3 {
  top: 40px;
  left: 40px;
  opacity: 0.8;
  animation: float3 6s ease-in-out infinite;
  z-index: 1;
}

@keyframes float1 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

@keyframes float2 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes float3 {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

.rotation-arrows {
  position: absolute;
  font-size: 3.5rem;
  color: var(--accent);
  animation: spin 10s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero-bg-elements .bg-element {
  position: absolute;
  background-color: var(--primary);
  opacity: 0.1;
  border-radius: 50%;
}

.bg-element.e1 {
  width: 300px;
  height: 300px;
  top: -150px;
  left: -100px;
  animation: pulse 10s ease-in-out infinite;
}

.bg-element.e2 {
  width: 500px;
  height: 500px;
  bottom: -250px;
  right: -150px;
  animation: pulse 15s ease-in-out infinite;
  background-color: var(--secondary);
}

.bg-element.e3 {
  width: 200px;
  height: 200px;
  top: 40%;
  right: 15%;
  animation: pulse 8s ease-in-out infinite;
  background-color: var(--accent);
}

@keyframes pulse {
  0%,
  100% {
    transform: scale(1);
    opacity: 0.1;
  }
  50% {
    transform: scale(1.1);
    opacity: 0.15;
  }
}

/* Advantages Section */
.advantages-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.advantage-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  height: 100%;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.advantage-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.advantage-card h3 {
  margin-bottom: 1rem;
  font-weight: 600;
  font-size: 1.5rem;
}

/* Features Section */
.features-section {
  padding: 6rem 0;
  background-color: var(--gray-light);
  position: relative;
  overflow: hidden;
}

.feature-img-container {
  position: relative;
}

.feature-img-bg {
  position: absolute;
  top: -20px;
  left: -20px;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: var(--border-radius);
  z-index: 1;
}

.feature-img-container img {
  position: relative;
  z-index: 2;
  border-radius: var(--border-radius);
}

.feature-list {
  margin-top: 2rem;
}

.feature-item {
  display: flex;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.feature-icon {
  margin-right: 1.5rem;
  font-size: 2rem;
  color: var(--primary);
  min-width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(153, 69, 255, 0.1);
  border-radius: 50%;
}

.feature-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.3rem;
  font-weight: 600;
}

/* Testimonials Section */
.testimonials-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.testimonial-header {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
}

.testimonial-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.testimonial-text {
  font-size: 1.1rem;
  color: var(--gray);
  font-style: italic;
}

/* Token Stats Section */
.token-stats-section {
  padding: 6rem 0;
  background-color: var(--gray-light);
}

.stats-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--box-shadow);
}

.stats-row {
  margin-bottom: 2rem;
}

.stat-box {
  text-align: center;
  padding: 1.5rem;
  border-radius: var(--border-radius);
  background-color: rgba(248, 249, 250, 0.7);
  transition: var(--transition);
}

.stat-box:hover {
  background-color: rgba(240, 240, 240, 0.9);
  transform: translateY(-3px);
}

.stat-box h4 {
  font-size: 1rem;
  color: var(--gray);
  margin-bottom: 0.5rem;
}

.stat-value {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--white) !important;
}

.stat-change {
  font-size: 0.9rem;
  font-weight: 600;
}

.stat-change.positive {
  color: var(--secondary);
}

.stat-change.negative {
  color: #ff4757;
}

.token-chart {
  height: 300px;
  margin-top: 2rem;
}

/* CTA Section */
.cta-section {
  padding: 6rem 0;
  background: linear-gradient(135deg, var(--dark), var(--dark-light));
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
  pointer-events: none;
}

.cta-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.cta-buttons .btn {
  border-radius: 50px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.cta-buttons .btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  box-shadow: 0 4px 15px rgba(153, 69, 255, 0.3);
}

.cta-buttons .btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(153, 69, 255, 0.4);
}

.cta-buttons .btn-outline-light:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Footer */
.footer {
  background-color: var(--dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 5rem 0 2rem;
}

.footer-small {
  padding: 3rem 0 1rem;
}

.footer-brand {
  color: var(--white);
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-top: 1.5rem;
}

.social-icon {
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary);
  color: var(--white);
  transform: translateY(-3px);
}

.footer h5 {
  color: var(--white);
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-links-inline {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 1rem;
}

.footer-links-inline a {
  color: rgba(255, 255, 255, 0.7);
  transition: var(--transition);
}

.footer-links-inline a:hover {
  color: var(--primary);
  text-decoration: none;
}

.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Page Headers */
.page-header {
  padding: 10rem 0 5rem;
  background: linear-gradient(135deg, var(--dark), var(--dark-light));
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
  opacity: 0.3;
}

.page-header h1 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
}

/* About page specific styles */
.about-story-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.about-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.about-content .lead {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.about-image-container {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.about-image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(153, 69, 255, 0.3),
    rgba(20, 241, 149, 0.3)
  );
  z-index: 1;
}

.vision-mission-section {
  padding: 6rem 0;
  background-color: var(--gray-light);
}

.vision-card,
.mission-card {
  height: 100%;
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 3rem 2rem;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
}

.vision-card:hover,
.mission-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.mission-card .card-icon {
  color: var(--secondary);
}

.how-it-works-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.process-timeline {
  position: relative;
  padding: 2rem 0;
}

.process-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50px;
  width: 4px;
  background: linear-gradient(to bottom, var(--primary), var(--secondary));
  border-radius: 2px;
}

.process-item {
  position: relative;
  padding-left: 100px;
  margin-bottom: 3rem;
}

.process-item:last-child {
  margin-bottom: 0;
}

.process-number {
  position: absolute;
  left: 0;
  top: 0;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 1.5rem;
  font-weight: 700;
  z-index: 2;
}

.process-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--dark);
}

.team-section {
  padding: 6rem 0;
  background-color: var(--gray-light);
}

.team-card {
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.team-img {
  height: 250px;
  overflow: hidden;
}

.team-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.team-card:hover .team-img img {
  transform: scale(1.1);
}

.team-info {
  padding: 1.5rem;
}

.team-info h4 {
  margin-bottom: 0.5rem;
  font-size: 1.25rem;
}

.team-position {
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.team-bio {
  font-size: 0.9rem;
  margin-bottom: 1rem;
  color: var(--gray);
}

.team-social {
  display: flex;
  gap: 0.5rem;
}

.team-social a {
  width: 36px;
  height: 36px;
  background-color: rgba(153, 69, 255, 0.1);
  color: var(--primary);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.team-social a:hover {
  background-color: var(--primary);
  color: var(--white);
}

.partners-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 2rem;
  align-items: center;
  justify-items: center;
}

.partner-logo {
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  padding: 1rem;
  filter: grayscale(100%);
  opacity: 0.7;
}

.partner-logo:hover {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}

.partner-logo img {
  max-height: 100%;
  max-width: 100%;
}

/* Features page specific styles */
.main-features-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.feature-badge {
  display: inline-block;
  background-color: rgba(153, 69, 255, 0.1);
  color: var(--primary);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.feature-content h2 {
  margin-bottom: 1rem;
  font-size: 2.5rem;
}

.feature-list {
  margin-top: 2rem;
}

.feature-list li {
  margin-bottom: 1rem;
  list-style: none;
  display: flex;
  align-items: center;
}

.feature-list li i {
  color: var(--secondary);
  margin-right: 1rem;
  font-size: 1.25rem;
}

.additional-features-section {
  padding: 6rem 0;
  background-color: var(--gray-light);
}

.feature-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.feature-card-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
}

.feature-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.comparison-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.comparison-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.comparison-table th {
  background-color: var(--primary);
  color: var(--white);
  text-align: left;
  padding: 1.5rem 1rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.comparison-table th:first-child {
  border-top-left-radius: var(--border-radius);
}

.comparison-table th:last-child {
  border-top-right-radius: var(--border-radius);
}

.comparison-table td {
  padding: 1rem;
  background-color: var(--white);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.comparison-table tr:nth-child(odd) td {
  background-color: rgba(248, 249, 250, 0.5);
}

.comparison-table tr:hover td {
  background-color: rgba(153, 69, 255, 0.05);
}

.faq-section {
  padding: 6rem 0;
  background-color: var(--gray-light);
}

.accordion {
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.accordion-item {
  border: none;
  background-color: var(--white);
}

.accordion-button {
  font-weight: 600;
  padding: 1.5rem;
  background-color: var(--white);
  color: var(--dark);
}

.accordion-button:not(.collapsed) {
  background-color: rgba(153, 69, 255, 0.05);
  color: var(--primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(153, 69, 255, 0.1);
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239945FF' class='bi bi-plus' viewBox='0 0 16 16'%3E%3Cpath d='M8 4a.5.5 0 0 1 .5.5v3h3a.5.5 0 0 1 0 1h-3v3a.5.5 0 0 1-1 0v-3h-3a.5.5 0 0 1 0-1h3v-3A.5.5 0 0 1 8 4z'/%3E%3C/svg%3E");
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%239945FF' class='bi bi-dash' viewBox='0 0 16 16'%3E%3Cpath d='M4 8a.5.5 0 0 1 .5-.5h7a.5.5 0 0 1 0 1h-7A.5.5 0 0 1 4 8z'/%3E%3C/svg%3E");
}

.accordion-body {
  padding: 1.5rem;
  color: var(--gray);
}

/* Community page specific styles */
.community-hub-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.community-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.community-content .lead {
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.community-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.community-stats .stat {
  text-align: center;
}

.community-stats .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.community-stats .stat-label {
  font-size: 0.9rem;
  color: var(--gray);
  margin-top: 0.5rem;
}

.community-image {
  position: relative;
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
}

.community-image-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(153, 69, 255, 0.3),
    rgba(20, 241, 149, 0.3)
  );
  z-index: 1;
}

.social-channels-section {
  padding: 6rem 0;
  background-color: var(--gray-light);
}

.social-channel-card {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
}

.social-channel-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.social-channel-card.twitter:hover {
  border-bottom: 4px solid #1da1f2;
}

.social-channel-card.telegram:hover {
  border-bottom: 4px solid #0088cc;
}

.social-channel-card.discord:hover {
  border-bottom: 4px solid #7289da;
}

.social-channel-card.github:hover {
  border-bottom: 4px solid #24292e;
}

.channel-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary);
  transition: var(--transition);
}

.social-channel-card:hover .channel-icon {
  transform: scale(1.1);
}

.social-channel-card h3 {
  margin-bottom: 1rem;
  font-size: 1.3rem;
}

.channel-stats {
  margin: 1.5rem 0;
  font-weight: 600;
}

.btn-channel {
  background-color: var(--primary);
  color: var(--white);
  border-radius: 50px;
  padding: 0.6rem 1.5rem;
  font-weight: 500;
  transition: background 0.2s, color 0.2s, transform 0.2s, box-shadow 0.2s;
  border: none;
  box-shadow: 0 2px 8px rgba(153, 69, 255, 0.10);
}

.btn-channel:hover,
.btn-channel:focus {
  background-color: var(--secondary);
  color: var(--dark);
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 6px 20px rgba(20, 241, 149, 0.18);
  outline: none;
  text-decoration: none;
}


.events-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.event-card {
  display: flex;
  background: var(--white);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  height: 100%;
  transition: var(--transition);
}

.event-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.event-date {
  min-width: 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--white);
  padding: 1.5rem 0.5rem;
  text-align: center;
}

.event-date .date {
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
}

.event-date .month {
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 0.3rem;
}

.event-content {
  padding: 1.5rem;
  flex-grow: 1;
}

.event-content h3 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.event-type {
  color: var(--gray);
  font-size: 0.9rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
}

.event-type i {
  margin-right: 0.5rem;
  color: var(--primary);
}

.community-feed-section {
  padding: 6rem 0;
  background-color: var(--gray-light);
}

.feed-container {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2rem;
  box-shadow: var(--box-shadow);
}

.feed-item {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.feed-item:last-child {
  border-bottom: none;
}

.feed-header {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.feed-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 1rem;
}

.feed-avatar.official {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  justify-content: center;
}

.feed-header h5 {
  margin-bottom: 0.2rem;
  font-size: 1.1rem;
}

.feed-content {
  margin-bottom: 1rem;
}

.feed-actions {
  display: flex;
  gap: 1.5rem;
  color: var(--gray);
}

.feed-actions span {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.98rem;
  border-radius: 30px;
  padding: 4px 12px;
  transition: background 0.18s, color 0.18s, box-shadow 0.18s, transform 0.18s;
  cursor: pointer;
  transform: translateY(0) scale(1);
}

.feed-actions span i {
  transition: color 0.18s, background 0.18s, transform 0.18s;
  font-size: 1.15rem;
}

.feed-actions span:hover,
.feed-actions span:focus {
  background: var(--primary-light);
  color: var(--white);
  box-shadow: 0 2px 12px rgba(153, 69, 255, 0.12);
  transform: translateY(-2px) scale(1.07);
  outline: none;
}

.feed-actions span:hover i,
.feed-actions span:focus i {
  color: var(--primary);
  background: var(--white);
  border-radius: 50%;
  padding: 4px;
  transform: scale(1.18);
}

.contact-section {
  padding: 6rem 0;
  background-color: var(--white);
}

.contact-info h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.contact-methods {
  margin-top: 2.5rem;
}

.contact-method {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.contact-icon {
  margin-right: 1.5rem;
  font-size: 1.5rem;
  color: var(--primary);
  min-width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(153, 69, 255, 0.1);
  border-radius: 50%;
}

.contact-method h4 {
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
}

.contact-form-container {
  background: var(--white);
  border-radius: var(--border-radius);
  padding: 2.5rem;
  box-shadow: var(--box-shadow);
}

.contact-form .form-control,
.contact-form .form-select {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-form .btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  border-radius: 8px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
}

.newsletter-section {
  padding: 6rem 0;
  background-color: var(--gray-light);
}

.newsletter-container {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  border-radius: var(--border-radius);
  padding: 3rem;
  box-shadow: var(--box-shadow);
  color: var(--white);
}

.newsletter-container h2 {
  margin-bottom: 1rem;
  font-size: 2rem;
}

.newsletter-form .form-control {
  border: none;
  padding: 1rem 1.5rem;
  border-radius: 8px 0 0 8px;
  font-size: 1rem;
}

.newsletter-form .btn {
  border-radius: 0 8px 8px 0;
  background-color: var(--accent);
  border-color: var(--accent);
  padding: 1rem 2rem;
  font-weight: 600;
  transition: var(--transition);
}

.newsletter-form .btn:hover {
  background-color: var(--accent-dark);
  border-color: var(--accent-dark);
}

/* Responsive Adjustments */
@media (max-width: 991.98px) {
  .hero-section {
    padding: 6rem 0 4rem;
    text-align: center;
  }

  .hero-section h1 {
    font-size: 2.5rem;
  }

  .token-stats {
    justify-content: center;
  }

  .hero-animation {
    margin-top: 3rem;
  }

  .rotation-visual {
    width: 250px;
    height: 250px;
  }

  .coin {
    width: 150px;
    height: 150px;
  }

  .coin::before {
    font-size: 2rem;
  }

  .feature-content {
    margin-top: 3rem;
    text-align: center;
  }

  .feature-item {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .feature-icon {
    margin-right: 0;
    margin-bottom: 1rem;
  }

  .community-stats {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand {
    font-size: 1.2rem;
  }

  .logo-container {
    width: 30px;
    height: 30px;
  }

  .logo-text {
    font-size: 1.1rem;
  }

  .hero-section h1 {
    font-size: 2rem;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .contact-form-container {
    margin-top: 3rem;
  }

  .event-date {
    min-width: 70px;
  }

  .event-date .date {
    font-size: 1.5rem;
  }

  .event-content {
    padding: 1rem;
  }

  .newsletter-container {
    padding: 2rem;
    text-align: center;
  }

  .newsletter-form .input-group {
    flex-direction: column;
  }

  .newsletter-form .form-control {
    border-radius: 8px;
    margin-bottom: 1rem;
  }

  .newsletter-form .btn {
    border-radius: 8px;
    width: 100%;
  }
}
