.hero {
  margin-top: 80px;
  min-height: clamp(280px, 56vh, 620px);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-image: url('/about.jpg');
  background-size: cover;
  background-position: center 24%;
  background-attachment: scroll;
  overflow: hidden;
  padding: 0 20px;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 0 0 32px 32px;
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.18);
  transition: all 0.6s cubic-bezier(0.25, 0.1, 0.25, 1.0);
  will-change: transform, opacity;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 18% 22%, rgba(46, 167, 255, 0.25), transparent 45%),
    radial-gradient(circle at 82% 78%, rgba(15, 23, 42, 0.28), transparent 50%);
  z-index: 1;
}

@media (min-width: 1700px) {
  .hero {
    min-height: clamp(320px, 50vh, 720px);
  }
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.36), rgba(255, 255, 255, 0.12));
  opacity: 1;
  transition: opacity 0.8s cubic-bezier(0.25, 0.1, 0.25, 1.0);
  will-change: opacity;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-around; /* Adjusted to space-around or center if only one item */
  max-width: 1200px;
  width: 100%;
  position: relative;
  z-index: 3;
}

/* Styles for .hero-text-container, .hero-title, .hero-slogan, .hero-subtitle, .hero-cta, .arrow-icon, .hero-registration-form have been moved to HeroText.css */

.coin-animation {
  position: relative;
  width: 300px;
  height: 300px;
  perspective: 1500px;
  margin-left: 50px;
}

.coin {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  animation: spin 20s infinite cubic-bezier(0.45, 0, 0.55, 1);
  will-change: transform;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.4));
}

@keyframes spin {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

.coin-inner {
  width: 100%;
  height: 100%;
  position: absolute;
  transform-style: preserve-3d;
}

.coin-front, .coin-back {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  backface-visibility: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  font-weight: 700;
  color: #553c00;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
  overflow: hidden;
  box-shadow: 0 0 50px rgba(255, 200, 0, 0.6);
  letter-spacing: -1px;
  font-family: 'Arial', sans-serif;
}

.coin-front {
  background: linear-gradient(135deg, #e6b800 0%, #ffd700 40%, #ffcc00 60%, #e6b800 100%);
  z-index: 2;
  text-transform: uppercase;
}

.coin-circle {
  position: absolute;
  width: 94%;
  height: 94%;
  border-radius: 50%;
  border: 4px solid rgba(173, 137, 0, 0.6);
  box-sizing: border-box;
  opacity: 0.8;
}

.coin-rim {
  position: absolute;
  width: 98%;
  height: 98%;
  border-radius: 50%;
  border: 2px dashed rgba(230, 190, 0, 0.7);
  box-sizing: border-box;
  animation: rotate 60s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.coin-logo, .coin-text {
  font-size: 2.2rem;
  z-index: 5;
  color: #553c00;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.4);
  letter-spacing: -0.5px;
  font-weight: 800;
  position: relative;
  text-transform: uppercase;
}

.coin-logo::before, .coin-text::before {
  content: '';
  position: absolute;
  width: 110%;
  height: 110%;
  top: -5%;
  left: -5%;
  background: radial-gradient(ellipse at center, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 70%);
  border-radius: 50%;
  z-index: -1;
}

.highlight {
  color: #b38600;
  font-weight: 900;
}

.coin-edge {
  position: absolute;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  transform: translateZ(-15px) rotateX(90deg);
  border-radius: 50%;
  background: #cc9900;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  overflow: hidden;
}

.coin-edge-line {
  position: absolute;
  width: 100%;
  height: 1.5px;
  background: #b38600;
  top: 50%;
  left: 0;
  transform-origin: center;
  transform: translateY(-50%) rotate(calc(var(--i, 0) * 6deg));
}

.coin-edge-line:nth-child(odd) {
  background: #e6b800;
}

@keyframes coin-edge-lines {
  0% { opacity: 0.7; }
  50% { opacity: 0.9; }
  100% { opacity: 0.7; }
}

.coin-edge .coin-edge-line:nth-child(1) { --i: 1; }
.coin-edge .coin-edge-line:nth-child(2) { --i: 2; }
.coin-edge .coin-edge-line:nth-child(3) { --i: 3; }
.coin-edge .coin-edge-line:nth-child(4) { --i: 4; }
.coin-edge .coin-edge-line:nth-child(5) { --i: 5; }
.coin-edge .coin-edge-line:nth-child(6) { --i: 6; }
.coin-edge .coin-edge-line:nth-child(7) { --i: 7; }
.coin-edge .coin-edge-line:nth-child(8) { --i: 8; }
.coin-edge .coin-edge-line:nth-child(9) { --i: 9; }
.coin-edge .coin-edge-line:nth-child(10) { --i: 10; }
.coin-edge .coin-edge-line:nth-child(11) { --i: 11; }
.coin-edge .coin-edge-line:nth-child(12) { --i: 12; }
.coin-edge .coin-edge-line:nth-child(13) { --i: 13; }
.coin-edge .coin-edge-line:nth-child(14) { --i: 14; }
.coin-edge .coin-edge-line:nth-child(15) { --i: 15; }
.coin-edge .coin-edge-line:nth-child(16) { --i: 16; }
.coin-edge .coin-edge-line:nth-child(17) { --i: 17; }
.coin-edge .coin-edge-line:nth-child(18) { --i: 18; }
.coin-edge .coin-edge-line:nth-child(19) { --i: 19; }
.coin-edge .coin-edge-line:nth-child(20) { --i: 20; }
.coin-edge .coin-edge-line:nth-child(21) { --i: 21; }
.coin-edge .coin-edge-line:nth-child(22) { --i: 22; }
.coin-edge .coin-edge-line:nth-child(23) { --i: 23; }
.coin-edge .coin-edge-line:nth-child(24) { --i: 24; }
.coin-edge .coin-edge-line:nth-child(25) { --i: 25; }
.coin-edge .coin-edge-line:nth-child(26) { --i: 26; }
.coin-edge .coin-edge-line:nth-child(27) { --i: 27; }
.coin-edge .coin-edge-line:nth-child(28) { --i: 28; }
.coin-edge .coin-edge-line:nth-child(29) { --i: 29; }
.coin-edge .coin-edge-line:nth-child(30) { --i: 30; }
.coin-edge .coin-edge-line:nth-child(31) { --i: 31; }
.coin-edge .coin-edge-line:nth-child(32) { --i: 32; }
.coin-edge .coin-edge-line:nth-child(33) { --i: 33; }
.coin-edge .coin-edge-line:nth-child(34) { --i: 34; }
.coin-edge .coin-edge-line:nth-child(35) { --i: 35; }
.coin-edge .coin-edge-line:nth-child(36) { --i: 36; }
.coin-edge .coin-edge-line:nth-child(37) { --i: 37; }
.coin-edge .coin-edge-line:nth-child(38) { --i: 38; }
.coin-edge .coin-edge-line:nth-child(39) { --i: 39; }
.coin-edge .coin-edge-line:nth-child(40) { --i: 40; }
.coin-edge .coin-edge-line:nth-child(41) { --i: 41; }
.coin-edge .coin-edge-line:nth-child(42) { --i: 42; }
.coin-edge .coin-edge-line:nth-child(43) { --i: 43; }
.coin-edge .coin-edge-line:nth-child(44) { --i: 44; }
.coin-edge .coin-edge-line:nth-child(45) { --i: 45; }
.coin-edge .coin-edge-line:nth-child(46) { --i: 46; }
.coin-edge .coin-edge-line:nth-child(47) { --i: 47; }
.coin-edge .coin-edge-line:nth-child(48) { --i: 48; }
.coin-edge .coin-edge-line:nth-child(49) { --i: 49; }
.coin-edge .coin-edge-line:nth-child(50) { --i: 50; }
.coin-edge .coin-edge-line:nth-child(51) { --i: 51; }
.coin-edge .coin-edge-line:nth-child(52) { --i: 52; }
.coin-edge .coin-edge-line:nth-child(53) { --i: 53; }
.coin-edge .coin-edge-line:nth-child(54) { --i: 54; }
.coin-edge .coin-edge-line:nth-child(55) { --i: 55; }
.coin-edge .coin-edge-line:nth-child(56) { --i: 56; }
.coin-edge .coin-edge-line:nth-child(57) { --i: 57; }
.coin-edge .coin-edge-line:nth-child(58) { --i: 58; }
.coin-edge .coin-edge-line:nth-child(59) { --i: 59; }
.coin-edge .coin-edge-line:nth-child(60) { --i: 60; }

.coin-stars {
  position: absolute;
  width: 100%;
  height: 100%;
  transform: translateZ(1px);
}

.coin-star {
  position: absolute;
  width: 12px;
  height: 12px;
  background: transparent;
  transform: rotate(45deg);
}

.coin-star:before, 
.coin-star:after {
  content: "";
  position: absolute;
  background-color: #553c00;
  opacity: 0.6;
}

.coin-star:before {
  width: 12px;
  height: 2px;
  top: 5px;
  left: 0;
}

.coin-star:after {
  width: 2px;
  height: 12px;
  top: 0;
  left: 5px;
}

.star-1 { top: 15%; left: 20%; }
.star-2 { top: 25%; left: 80%; }
.star-3 { top: 80%; left: 15%; }
.star-4 { top: 70%; left: 80%; }
.star-5 { top: 45%; left: 90%; }
.star-6 { top: 10%; left: 40%; }
.star-7 { top: 85%; left: 50%; }
.star-8 { top: 40%; left: 10%; }

.coin-shine {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.4) 0%, rgba(255,255,255,0) 50%, rgba(255,255,255,0.1) 100%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10;
  animation: shine 8s infinite alternate;
}

@keyframes shine {
  0% { opacity: 0.5; transform: translateX(-25%) translateY(-25%) rotate(0deg); }
  25% { opacity: 0.7; }
  50% { opacity: 0.5; transform: translateX(25%) translateY(25%) rotate(180deg); }
  75% { opacity: 0.3; }
  100% { opacity: 0.5; transform: translateX(-25%) translateY(-25%) rotate(360deg); }
}

.coin-emblem {
  position: absolute;
  width: 60%;
  height: 60%;
  border-radius: 50%;
  border: 2px solid rgba(102, 51, 0, 0.3);
  transform: translateZ(1px);
  background: radial-gradient(circle at center, rgba(255,215,0,0.2) 0%, rgba(255,215,0,0) 70%);
}

.coin-emblem::before {
  content: '';
  position: absolute;
  width: 80%;
  height: 80%;
  top: 10%;
  left: 10%;
  border-radius: 50%;
  border: 1px solid rgba(102, 51, 0, 0.2);
  background: radial-gradient(circle at center, rgba(255,215,0,0.1) 0%, rgba(255,215,0,0) 70%);
}

.coin-emblem::after {
  content: '';
  position: absolute;
  width: 40%;
  height: 40%;
  top: 30%;
  left: 30%;
  border-radius: 50%;
  background: radial-gradient(circle at center, rgba(102, 51, 0, 0.1) 0%, rgba(102, 51, 0, 0) 70%);
}

/* 3D Animation */
@keyframes spin {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}

/* Add slightly slower spin on hover to make it easier to see details */
.coin-animation:hover .coin {
  animation: spin 40s infinite cubic-bezier(0.45, 0, 0.55, 1);
}

.scroll-indicator {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  color: rgba(255, 255, 255, 0.9);
  opacity: 0.8;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-10px) translateX(-50%);
  }
  60% {
    transform: translateY(-5px) translateX(-50%);
  }
}

.mouse {
  width: 26px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.95);
  border-radius: 20px;
  position: relative;
}

.mouse-wheel {
  width: 6px;
  height: 6px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  position: absolute;
  top: 8px;
  left: 50%;
  transform: translateX(-50%);
  animation: scroll 1.5s infinite;
}

@keyframes scroll {
  0% {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateX(-50%) translateY(15px);
  }
}

.scroll-text {
  margin-top: 5px;
  font-size: 12px;
  letter-spacing: 2px;
}

/* RTL Support */
[dir="rtl"] .hero-cta .arrow-icon {
  margin-left: 0;
  margin-right: 8px;
  transform: rotate(180deg);
}

[dir="rtl"] .hero-cta:hover .arrow-icon {
  transform: rotate(180deg) translateX(5px);
}

/* Responsive styling */
@media (max-width: 992px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
  
  .hero-text-container {
    margin-bottom: 50px;
  }
  
  .hero-title {
    font-size: 3.5rem;
  }
  
  .hero-slogan {
    font-size: 1.5rem;
  }
  
  .coin-animation {
    width: 200px;
    height: 200px;
  }
}

@media (max-width: 768px) {
  .hero {
    background-position: center 30%;
    min-height: clamp(220px, 42vh, 360px);
    border-radius: 0 0 20px 20px;
  }

  .hero-title {
    font-size: 3rem;
  }
  
  .hero-slogan {
    font-size: 1.3rem;
  }
  
  .hero-subtitle {
    font-size: 1rem;
  }
  
  .hero-cta {
    padding: 12px 25px;
    font-size: 1rem;
  }

  .scroll-indicator {
    bottom: 18px;
  }
}

.inline-registration-container {
  
  border-radius: 16px;
  box-shadow: 0 15px 30px -10px rgba(0, 0, 0, 0.3);
  width: 100%;
  padding: 2rem;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
}

.registration-header {
  text-align: center;
  margin-bottom: 2rem;
}

.registration-header h2 {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary);
}

.registration-header p {
  color: var(--color-text-secondary);
  font-size: 1rem;
}



.registration-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

.input-icon {
  color: var(--color-primary);
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="tel"] {
  padding: 0.75rem 1rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background-color: rgba(255, 255, 255, 0.05);
  color: var(--color-text-primary);
  font-size: 1rem;
  transition: all 0.2s ease;
}

.form-group input:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(var(--color-primary-rgb), 0.2);
}

.form-group input.error {
  border-color: var(--color-error, #ff4d4f);
}

.error-message {
  color: var(--color-error, #ff4d4f);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.checkbox-group {
  flex-direction: row;
  align-items: flex-start;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
}

.checkbox-group label {
  flex: 1;
  font-size: 0.85rem;
}

.checkbox-group label a {
  color: var(--color-primary);
  text-decoration: none;
}

.checkbox-group label a:hover {
  text-decoration: underline;
}

.form-actions {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
  gap: 1rem;
}

.next-button,
.back-button,
.submit-button {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.next-button,
.submit-button {
  background-color: var(--color-primary);
  color: var(--color-text-contrast);
  border: none;
}

.next-button:hover,
.submit-button:hover {
  background-color: var(--color-primary-dark, #0056b3);
  transform: translateY(-2px);
}

.back-button {
  background-color: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-text-secondary);
}

.back-button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text-primary);
}

.next-button {
  margin-left: auto;
}

.submit-button:disabled {
  opacity: 0.7;
  cursor: not-allowed;
  transform: none;
}

.success-message {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
}

.success-icon {
  font-size: 3rem;
  color: var(--color-success, #52c41a);
  margin-bottom: 1rem;
}

.success-message h3 {
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--color-text-primary);
}

.success-message p {
  color: var(--color-text-secondary);
}

.error-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 0;
}

.api-error-message {
  color: var(--color-error, #ff4d4f);
  background-color: rgba(255, 77, 79, 0.1);
  border: 1px solid rgba(255, 77, 79, 0.2);
  border-radius: 8px;
  padding: 1rem;
  margin-bottom: 1.5rem;
  width: 100%;
  text-align: center;
}

.retry-button {
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: var(--color-primary);
  color: var(--color-text-contrast);
  border: none;
}

.retry-button:hover {
  background-color: var(--color-primary-dark, #0056b3);
  transform: translateY(-2px);
}

@media (max-width: 576px) {
  .registration-modal {
    padding: 1.5rem;
    width: 95%;
  }
  
  .form-actions {
    flex-direction: column;
  }
  
  .next-button,
  .back-button,
  .submit-button {
    width: 100%;
  }
}

.hero-text-section {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 22px 20px 34px;
  margin-top: -22px;
  position: relative;
  z-index: 4;
  background-color: transparent;
}

.hero-text-container {
  max-width: 760px;
  color: var(--text-dark);
  background:
    linear-gradient(150deg, rgba(255, 255, 255, 0.98), rgba(245, 251, 255, 0.95));
  border-radius: 18px;
  padding: 30px 32px;
  border: 1px solid rgba(46, 167, 255, 0.28);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.15);
  transition: transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1.0), box-shadow 0.5s ease;
  will-change: transform, opacity;
  backdrop-filter: blur(8px); /* Adjusted blur */
  -webkit-backdrop-filter: blur(8px);
  text-align: center; /* Center text for a standalone section */
}

.hero-title {
  font-size: clamp(2.2rem, 5vw, 3.3rem);
  margin: 0 0 0.4rem 0;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--text-dark) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900;
  letter-spacing: -0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.hero-slogan {
  font-size: clamp(1.15rem, 2.3vw, 1.6rem);
  margin: 0.65rem 0 0.95rem;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  display: block;
  line-height: 1.35;
}

.hero-subtitle {
  font-size: 1.04rem;
  color: rgba(15, 23, 42, 0.86);
  margin-bottom: 2rem;
  line-height: 1.68;
  position: relative;
  border-bottom: 2px dotted rgba(46, 167, 255, 0.7);
  padding-bottom: 15px;
}

.hero-cta {
  background: linear-gradient(90deg, var(--text-dark) 0%, var(--primary-color) 100%);
  background-size: 200% auto;
  color: white;
  border: none;
  padding: 15px 30px; /* Adjusted padding */
  border-radius: 30px;
  font-size: 1rem; /* Adjusted font size */
  font-weight: 700;
  cursor: pointer;
  display: inline-flex; /* Changed to inline-flex for centering */
  align-items: center;
  justify-content: center; /* Center content within button */
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.22);
  transition: all 0.4s cubic-bezier(0.25, 0.1, 0.25, 1.0);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.5px;
  will-change: transform, box-shadow, background-position;
  overflow: hidden;
  position: relative;
  margin: 0 auto; /* Center button if it's a block */
}

.hero-cta:hover {
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.28);
  transform: translateY(-2px);
  background-position: right center;
}

.hero-cta::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  border-radius: 30px;
}

.hero-cta:hover::after {
  transform: translateX(100%);
}

.arrow-icon {
  margin-left: 8px;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  will-change: transform;
}

.hero-cta:hover .arrow-icon {
  transform: translateX(5px);
}

.hero-registration-form {
  width: 100%;
  margin-top: 20px;
  max-width: 500px; /* Ensure it doesn't get too wide */
  margin-left: auto; /* Center the form */
  margin-right: auto; /* Center the form */
}

/* RTL Support */
[dir="rtl"] .hero-text-container {
  text-align: center; /* Keep centered for RTL as well */
}

[dir="rtl"] .hero-cta .arrow-icon {
  margin-left: 0;
  margin-right: 8px;
  transform: rotate(180deg);
}

[dir="rtl"] .hero-cta:hover .arrow-icon {
  transform: rotate(180deg) translateX(5px);
}

/* Responsive styling for HeroText */
@media (max-width: 768px) {
  .hero-text-container {
    padding: 22px 18px;
  }
  .hero-slogan {
    font-size: 1.06rem;
  }
  .hero-subtitle {
    font-size: 0.98rem;
  }
  .hero-cta {
    padding: 12px 25px;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }
  .hero-slogan {
    font-size: 1rem;
  }
}

.home-showcase-section {
  position: relative;
  padding: 132px 0 54px;
  background: linear-gradient(140deg, #f8f6f1 0%, #efe9dc 52%, #f8f6f1 100%);
  overflow: hidden;
}

.home-showcase-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 20%, rgba(28, 79, 92, 0.14), transparent 38%),
    radial-gradient(circle at 80% 80%, rgba(197, 140, 62, 0.16), transparent 34%);
  pointer-events: none;
}

.home-showcase-header {
  text-align: center;
  margin-bottom: 42px;
  position: relative;
  z-index: 1;
}

.home-showcase-badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0e4250;
  background: rgba(14, 66, 80, 0.14);
  margin-bottom: 14px;
}

.home-showcase-title {
  margin: 0;
  font-size: clamp(1.9rem, 3.8vw, 3rem);
  line-height: 1.15;
  font-weight: 800;
  color: #0f2c35;
}

.home-showcase-subtitle {
  margin: 15px auto 0;
  max-width: 780px;
  font-size: 1.06rem;
  line-height: 1.6;
  color: #295361;
}

.home-showcase-marketing {
  text-align: center;
  margin-bottom: 42px;
  position: relative;
  z-index: 1;
}

.home-showcase-marketing-title {
  margin: 0;
  font-size: clamp(1.5rem, 3vw, 2.2rem);
  line-height: 1.15;
  font-weight: 800;
  color: #0f2c35;
}

.home-showcase-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.home-showcase-card {
  border: 1px solid rgba(14, 66, 80, 0.14);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 12px 24px rgba(18, 44, 55, 0.08);
  padding: 24px;
  backdrop-filter: blur(3px);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-showcase-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 28px rgba(18, 44, 55, 0.14);
}

.home-showcase-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.home-showcase-label {
  border-radius: 999px;
  background: rgba(201, 133, 52, 0.18);
  color: #804910;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  padding: 6px 10px;
}

.home-showcase-icon {
  color: #0e4250;
  opacity: 0.7;
  font-size: 1rem;
}

.home-showcase-card-title {
  margin: 0;
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 700;
  color: #0f2c35;
}

.home-showcase-card-content {
  margin: 10px 0 0;
  color: #34535d;
  line-height: 1.65;
  word-break: break-word;
}

.home-showcase-card-content a {
  color: #0e4250;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}

.home-showcase-card-content a:hover {
  color: #804910;
}

.home-showcase-card-content a.whatsapp-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  font-size: 1.15rem;
  text-decoration: none;
  vertical-align: middle;
  margin-left: 6px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.home-showcase-card-content a.whatsapp-link:hover {
  background: #1ebe5d;
  color: #fff;
  transform: scale(1.1);
}

.home-showcase-loading,
.home-showcase-error {
  text-align: center;
  padding: 24px 0;
  color: #24505e;
  font-weight: 500;
}

@media (max-width: 768px) {
  .home-showcase-section {
    padding: 84px 0 42px;
  }

  .home-showcase-header {
    margin-bottom: 30px;
  }

  .home-showcase-subtitle {
    font-size: 1rem;
  }
}
.about {
  padding: 100px 0;
  background-color: var(--darker-bg);
  color: var(--text-dark);
  position: relative;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.about-content {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.about-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  color: var(--text-dark);
  font-weight: 800;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image {
  position: relative;
}

.image-container {
  width: 100%;
  height: 400px;
  position: relative;
  border-radius: 20px;
  box-shadow: 0 10px 20px var(--shadow-color);
  overflow: hidden;
  border: 1px solid var(--card-border);
}

.stock-image-wrapper {
  position: relative;
  width: 100%;
  height: 100%;
}

.about-stock-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.stock-image-wrapper:hover .about-stock-image {
  transform: scale(1.05);
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.3));
}

.value-tags {
  position: absolute;
  bottom: 20px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 15px;
}

.value-tag {
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 700;
  color: white;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
  opacity: 0.9;
  transition: all 0.3s ease;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: inline-flex;
  align-items: center;
  animation: fadeInUp 0.8s forwards;
}

.value-tag:hover {
  transform: translateY(-5px);
  opacity: 1;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.value-tag.security {
  background: linear-gradient(135deg, #4481eb, #04befe);
  animation-delay: 0.1s;
}

.value-tag.trust {
  background: linear-gradient(135deg, #43e97b, #38f9d7);
  animation-delay: 0.3s;
}

.value-tag.innovation {
  background: linear-gradient(135deg, #fa709a, #fee140);
  animation-delay: 0.5s;
}

.value-tag.community {
  background: linear-gradient(135deg, #8f66ff, #5ab9fe);
  animation-delay: 0.7s;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 0.9;
    transform: translateY(0);
  }
}

.about-text {
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.about-description {
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 10px;
  color: var(--text-medium);
}

.about-mission,
.about-vision {
  background-color: var(--card-bg);
  padding: 25px;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px var(--shadow-color);
  border: 1px solid var(--card-border);
}

.about-vision {
  /* border styles are now consistent with about-mission */
}

.about-mission:hover,
.about-vision:hover {
  background-color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px var(--shadow-color);
}

.about-mission h3,
.about-vision h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
  font-weight: 700;
}

.about-mission p,
.about-vision p {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text-medium);
}

/* RTL Support */
[dir="rtl"] .about-mission,
[dir="rtl"] .about-vision {
  /* borders removed */
}

[dir="rtl"] .block::before {
  right: auto;
  left: -40px;
}

/* Responsive Styles */
@media (max-width: 992px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .about-image {
    order: 2;
  }
  
  .about-text {
    order: 1;
  }
}

@media (max-width: 768px) {
  .about {
    padding: 70px 0;
  }
  
  .image-container {
    height: 300px;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .about-description {
    font-size: 1rem;
  }
  
  .block {
    width: 50px;
    height: 50px;
  }
  
  .block::before {
    width: 20px;
    right: -20px;
  }
  
  [dir="rtl"] .block::before {
    left: -20px;
  }
}

.features {
  padding: 100px 0;
  background-color: var(--darker-bg);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.features::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(66, 180, 255, 0.15), transparent 70%),
              radial-gradient(circle at bottom left, rgba(255, 107, 107, 0.15), transparent 70%),
              radial-gradient(circle at center, rgba(6, 214, 160, 0.1), transparent 60%);
  pointer-events: none;
}

.features-content {
  position: relative;
  z-index: 1;
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: var(--card-bg);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
  border: 1px solid var(--card-border);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-shadow: 0 8px 20px var(--shadow-color);
}

.feature-card:hover {
  background-color: #ffffff;
  transform: translateY(-5px);
  box-shadow: 0 12px 30px var(--shadow-color);
  border-color: var(--primary-color);
}

.feature-icon {
  font-size: 2rem;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 20px;
  position: relative;
  background-color: rgba(66, 180, 255, 0.1);
  color: var(--primary-color);
}

.icon-bg {
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border: 2px dashed var(--accent-color);
  border-radius: 20px;
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.feature-title {
  font-size: 1.4rem;
  margin-bottom: 15px;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  padding-left: 15px;
  border-left: 3px solid var(--secondary-color);
}

.feature-description {
  color: var(--text-medium);
  line-height: 1.6;
  font-size: 1rem;
  flex-grow: 1;
}

.feature-accent {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color), var(--tertiary-color));
  transition: transform 0.3s ease;
  transform: scaleX(0.3);
  transform-origin: left;
}

.feature-card:hover .feature-accent {
  transform: scaleX(1);
}

/* RTL Support */
[dir="rtl"] .feature-accent {
  transform-origin: right;
}

/* Responsive styling */
@media (max-width: 992px) {
  .features {
    padding: 80px 0;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }
  
  .feature-card {
    padding: 25px;
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.7rem;
  }
  
  .feature-title {
    font-size: 1.3rem;
  }
}

.tokenomics {
  padding: 100px 0;
  background-color: var(--darker-bg);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.tokenomics::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top left, rgba(66, 180, 255, 0.1), transparent 60%),
    radial-gradient(circle at bottom right, rgba(255, 107, 107, 0.1), transparent 60%),
    radial-gradient(circle at center, rgba(6, 214, 160, 0.05), transparent 70%);
  pointer-events: none;
}

.tokenomics-content {
  position: relative;
  z-index: 1;
}

.tokenomics-header {
  text-align: center;
  margin-bottom: 50px;
}

.token-supply {
  margin-top: 20px;
  font-size: 1.2rem;
  font-weight: 700;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.tokenomics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.distribution-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.distribution-title {
  font-size: 1.6rem;
  margin-bottom: 20px;
  text-align: center;
  font-weight: 700;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 10px;
}

.distribution-title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  border-radius: 3px;
}

.chart-container {
  width: 100%;
  max-width: 300px;
  margin: 0 auto 30px;
}

.pie-chart {
  position: relative;
  width: 100%;
  padding-bottom: 100%;
  /* Maintains aspect ratio */
  border-radius: 50%;
  background-color: var(--card-bg);
  box-shadow: 0 10px 25px var(--shadow-color);
  border: 1px solid var(--card-border);
}

.pie-segment {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: conic-gradient(transparent 0deg,
      transparent calc(var(--start) * 3.6deg),
      var(--color) calc(var(--start) * 3.6deg),
      var(--color) calc((var(--start) + var(--value)) * 3.6deg),
      transparent calc((var(--start) + var(--value)) * 3.6deg),
      transparent 360deg);
  clip-path: circle(50% at 50% 50%);
  transform-origin: center;
}

.pie-center {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 35%;
  height: 35%;
  background-color: var(--dark-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 15px var(--shadow-color);
  border: 1px solid var(--card-border);
}

.pie-label {
  font-weight: 800;
  font-size: 1.2rem;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.distribution-legend {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  width: 100%;
}

.legend-item {
  display: flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 5px;
  transition: all 0.3s ease;
  cursor: pointer;
}

.legend-item:hover {
  background-color: rgba(66, 180, 255, 0.1);
  transform: translateY(-2px);
}

.legend-color {
  width: 15px;
  height: 15px;
  border-radius: 4px;
  margin-right: 8px;
}

.legend-label {
  font-size: 0.9rem;
  color: var(--text-medium);
  font-weight: 500;
}

.tokenomics-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.info-card {
  background-color: var(--card-bg);
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 8px 20px var(--shadow-color);
  transition: all 0.3s ease;
  border: 1px solid var(--card-border);
}

.info-card:hover {
  background-color: #ffffff;
  box-shadow: 0 12px 30px var(--shadow-color);
  transform: translateY(-5px);
  border-color: var(--primary-color);
}

.info-card h3 {
  font-size: 1.2rem;
  margin-bottom: 10px;
  color: var(--text-dark);
  font-weight: 700;
  position: relative;
  padding-left: 12px;
  border-left: 3px solid var(--secondary-color);
}

.info-card p {
  font-size: 0.95rem;
  color: var(--text-medium);
  line-height: 1.6;
}

/* RTL Support */
[dir="rtl"] .legend-color {
  margin-right: 0;
  margin-left: 8px;
}

/* Responsive Design */
@media (max-width: 992px) {
  .tokenomics {
    padding: 80px 0;
  }

  .tokenomics-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

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

@media (max-width: 768px) {
  .distribution-title {
    font-size: 1.4rem;
  }

  .chart-container {
    max-width: 250px;
  }

  .pie-label {
    font-size: 1rem;
  }

  .token-supply {
    font-size: 1.1rem;
  }
}
.roadmap {
  padding: 100px 0;
  background-color: var(--dark-bg);
  color: var(--text-dark);
  position: relative;
  overflow: hidden;
}

.roadmap-content {
  position: relative;
  z-index: 2;
}

.roadmap-header {
  text-align: center;
  margin-bottom: 70px;
}

.roadmap-timeline {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
}

.timeline-item {
  position: relative;
  margin-bottom: 50px;
  padding-left: 40px;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-content {
  background-color: var(--card-bg);
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 8px 20px var(--shadow-color);
  border: 1px solid var(--card-border);
  position: relative;
  transition: all 0.3s ease;
}

.timeline-content:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px var(--shadow-color);
  background-color: #ffffff;
  border-color: var(--primary-color);
}

.timeline-icon {
  position: absolute;
  left: -30px;
  top: 20px;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 5px 15px var(--shadow-color);
  z-index: 2;
  color: white;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.timeline-title {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--text-dark);
  font-weight: 700;
  margin-inline-start: 10px !important;
}


.timeline-description {
  color: var(--text-medium);
  line-height: 1.6;
  margin-bottom: 15px;
}

.timeline-status {
  display: flex;
  justify-content: flex-end;
}

.status-badge {
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.status-badge.completed {
  background-color: rgba(46, 213, 115, 0.2);
  color: #2ed573;
}

.status-badge.in-progress {
  background-color: rgba(85, 174, 255, 0.2);
  color: #55aeff;
}

.status-badge.upcoming {
  background-color: rgba(255, 168, 86, 0.2);
  color: #ffa856;
}

.timeline-connector {
  position: absolute;
  top: 50px;
  left: 20px;
  width: 3px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color), var(--tertiary-color));
  z-index: 1;
  border-radius: 3px;
}

.roadmap-bg-elements {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

.bg-element {
  position: absolute;
  border-radius: 50%;
  opacity: 0.1;
}

.element-1 {
  width: 300px;
  height: 300px;
  top: -100px;
  left: -100px;
  background: radial-gradient(var(--primary-color), transparent 70%);
  animation: float 15s infinite alternate ease-in-out;
}

.element-2 {
  width: 400px;
  height: 400px;
  bottom: -150px;
  right: -150px;
  background: radial-gradient(var(--secondary-color), transparent 70%);
  animation: float 20s infinite alternate-reverse ease-in-out;
}

.element-3 {
  width: 200px;
  height: 200px;
  top: 40%;
  right: 10%;
  background: radial-gradient(var(--tertiary-color), transparent 70%);
  animation: float 18s infinite alternate ease-in-out;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(20px, 20px) scale(1.1);
  }
}

/* RTL Support */
[dir="rtl"] .timeline-item {
  padding-left: 0;
  padding-right: 40px;
}

[dir="rtl"] .timeline-icon {
  left: auto;
  right: -30px;
}

[dir="rtl"] .timeline-connector {
  left: auto;
  right: 20px;
}

[dir="rtl"] .timeline-status {
  justify-content: flex-start;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .roadmap {
    padding: 70px 0;
  }
  
  .timeline-item {
    padding-left: 30px;
  }
  
  .timeline-icon {
    width: 50px;
    height: 50px;
    left: -25px;
    font-size: 20px;
  }
  
  .timeline-connector {
    left: 15px;
  }
  
  .timeline-content {
    padding: 20px;
  }
  
  .timeline-title {
    font-size: 1.2rem;    
  }
  
  [dir="rtl"] .timeline-item {
    padding-right: 30px;
    
  }
  
  [dir="rtl"] .timeline-icon {
    right: -25px;
  }
  
  [dir="rtl"] .timeline-connector {
    right: 15px;
  }
}

.cta {
  position: relative;
  color: white;
  overflow: hidden;
  padding: 100px 0;
}

.cta-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.cta-content {
  background: rgba(19, 24, 36, 0.8);
  backdrop-filter: blur(10px);
  border-radius: 20px;
  padding: 60px 40px;
  text-align: center;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}

.cta-title {
  font-size: 2.5rem;
  margin-bottom: 20px;
  font-weight: 700;
  background: linear-gradient(90deg, #5AB9FE 0%, #8F66FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cta-description {
  font-size: 1.2rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 30px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.cta-join-button {
  background: linear-gradient(90deg, #5AB9FE 0%, #8F66FF 100%);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 30px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  box-shadow: 0 10px 25px rgba(90, 185, 254, 0.3);
  transition: all 0.3s ease;
}

.cta-join-button:hover {
  box-shadow: 0 15px 30px rgba(90, 185, 254, 0.4);
}

.arrow-icon {
  margin-left: 8px;
  transition: transform 0.3s ease;
}

.cta-join-button:hover .arrow-icon {
  transform: translateX(5px);
}

.cta-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
  overflow: hidden;
}

.cta-bg-shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.3;
}

.shape-1 {
  width: 500px;
  height: 500px;
  top: -250px;
  left: -100px;
  background: linear-gradient(135deg, #5AB9FE 0%, transparent 70%);
  animation: floatShape 15s infinite alternate ease-in-out;
}

.shape-2 {
  width: 400px;
  height: 400px;
  bottom: -200px;
  right: -100px;
  background: linear-gradient(135deg, #8F66FF 0%, transparent 70%);
  animation: floatShape 20s infinite alternate-reverse ease-in-out;
}

.shape-3 {
  width: 300px;
  height: 300px;
  top: 20%;
  right: 10%;
  background: linear-gradient(135deg, #6E8FFF 0%, transparent 70%);
  animation: floatShape 18s infinite alternate ease-in-out;
}

@keyframes floatShape {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(30px, 30px) rotate(10deg);
  }
}

.cta-particles {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(90, 185, 254, 0.7), rgba(143, 102, 255, 0.7));
  box-shadow: 0 0 10px rgba(90, 185, 254, 0.5);
  animation: floatParticle linear infinite;
}

@keyframes floatParticle {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  100% {
    transform: translate(100px, -100px) scale(0);
    opacity: 0;
  }
}

/* RTL Support */
[dir="rtl"] .arrow-icon {
  margin-left: 0;
  margin-right: 8px;
  transform: rotate(180deg);
}

[dir="rtl"] .cta-join-button:hover .arrow-icon {
  transform: rotate(180deg) translateX(5px);
}

/* Responsive Styles */
@media (max-width: 768px) {
  .cta {
    padding: 70px 0;
  }
  
  .cta-content {
    padding: 40px 25px;
  }
  
  .cta-title {
    font-size: 2rem;
  }
  
  .cta-description {
    font-size: 1rem;
  }
  
  .cta-join-button {
    padding: 12px 25px;
    font-size: 1rem;
  }
}

/* Form container and toggle buttons */
.form-container {
  width: 100%;
  margin-bottom: 1rem;
}

.form-toggle-buttons {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin: 1rem 0;
}

.toggle-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1.25rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-text-secondary, rgba(255, 255, 255, 0.7));
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.toggle-button:hover {
  background-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

.toggle-button.active {
  background: linear-gradient(90deg, #5AB9FE 0%, #8F66FF 100%);
  color: white;
  border-color: transparent;
}

