/* Complete redesign with dark bright red color scheme */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #0a0a0a;
  color: #ffffff;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Navigation with bright red accents */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(10, 10, 10, 0.95);
  backdrop-filter: blur(20px);
  z-index: 1000;
  padding: 1.25rem 0;
  border-bottom: 1px solid rgba(255, 23, 68, 0.2);
}

.nav-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
}

.nav-menu a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s;
  font-size: 0.95rem;
}

.nav-menu a:hover {
  color: #ff1744;
}

.nav-buttons {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.btn-login {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.btn-login:hover {
  border-color: #ff1744;
  color: #ff1744;
}

.btn-signup {
  background: #ff1744;
  color: #ffffff;
  border: none;
  padding: 0.65rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.btn-signup:hover {
  background: #ff4569;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 23, 68, 0.4);
}

/* Mobile-only buttons styling */
.mobile-only {
  display: none;
}

.btn-login-mobile,
.btn-signup-mobile {
  width: 100%;
  padding: 0.75rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.95rem;
  border: none;
}

.btn-login-mobile {
  background: transparent;
  color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-signup-mobile {
  background: #ff1744;
  color: #ffffff;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background: #ff1744;
  transition: 0.3s;
  border-radius: 2px;
}

/* Enhanced language switcher - always visible and prominent */
.language-switcher {
  position: relative;
  z-index: 1001;
}

.lang-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 23, 68, 0.15);
  color: #ff1744;
  border: 1px solid rgba(255, 23, 68, 0.4);
  padding: 0.65rem 1rem;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 0.9rem;
}

.lang-btn:hover {
  background: rgba(255, 23, 68, 0.25);
  border-color: #ff1744;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 23, 68, 0.3);
}

.lang-btn svg {
  width: 20px;
  height: 20px;
}

.lang-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  right: 0;
  background: rgba(20, 20, 20, 0.98);
  border: 1px solid rgba(255, 23, 68, 0.3);
  border-radius: 12px;
  padding: 0.5rem;
  min-width: 180px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s;
  z-index: 1000;
  backdrop-filter: blur(20px);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.lang-dropdown.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-option {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  padding: 0.75rem 1rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.2s;
  text-align: left;
}

.lang-option:hover {
  background: rgba(255, 23, 68, 0.15);
  color: #ff1744;
}

/* Hero section with red glowing circle effect */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 100px;
  position: relative;
  overflow: hidden;
}

.glow-circle {
  position: absolute;
  left: -15%;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 23, 68, 0.2) 0%, transparent 70%);
  border: 2px solid rgba(255, 23, 68, 0.4);
  filter: blur(1px);
  animation: pulse-glow 4s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    transform: translateY(-50%) scale(1);
    opacity: 0.6;
  }
  50% {
    transform: translateY(-50%) scale(1.05);
    opacity: 0.9;
  }
}

.hero-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  width: 100%;
  position: relative;
  z-index: 1;
}

.hero-content {
  max-width: 700px;
  animation: fadeInUp 1s ease-out;
}

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

.hero-title {
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.5rem;
  letter-spacing: -0.03em;
  color: #ffffff;
}

.highlight {
  color: #ff1744;
  text-shadow: 0 0 30px rgba(255, 23, 68, 0.5);
}

.hero-description {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 2.5rem;
  line-height: 1.7;
}

.email-signup {
  display: flex;
  gap: 0.75rem;
  max-width: 500px;
  margin-bottom: 3rem;
}

.email-input {
  flex: 1;
  padding: 1rem 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.3s;
}

.email-input:focus {
  outline: none;
  border-color: #ff1744;
  background: rgba(255, 255, 255, 0.08);
}

.email-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.btn-signup-hero {
  background: #ff1744;
  color: #ffffff;
  border: none;
  padding: 1rem 2.5rem;
  border-radius: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
  white-space: nowrap;
}

.btn-signup-hero:hover {
  background: #ff4569;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 23, 68, 0.4);
}

/* Hero stats section */
.hero-stats {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 2rem;
  background: rgba(255, 23, 68, 0.05);
  border: 1px solid rgba(255, 23, 68, 0.2);
  border-radius: 16px;
  max-width: 500px;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: #ff1744;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.stat-divider {
  font-size: 2rem;
  color: #ff1744;
  font-weight: 300;
}

/* Crypto cards section with red theme */
.crypto-cards {
  padding: 6rem 0;
  background: linear-gradient(180deg, transparent 0%, rgba(255, 23, 68, 0.03) 100%);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 3rem;
  color: #ffffff;
  grid-column: 1 / -1;
}

.cards-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
}

.crypto-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 2rem;
  transition: all 0.3s;
}

.crypto-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255, 23, 68, 0.4);
  box-shadow: 0 15px 50px rgba(255, 23, 68, 0.2);
}

.crypto-card.featured {
  border-color: rgba(255, 23, 68, 0.5);
  background: rgba(255, 23, 68, 0.08);
  position: relative;
}

.crypto-card.featured::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ff1744, #ff4569);
  border-radius: 20px 20px 0 0;
}

.card-header {
  margin-bottom: 1.5rem;
}

.badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.badge.popular {
  background: rgba(255, 23, 68, 0.2);
  border-color: #ff1744;
  color: #ff1744;
}

.card-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.crypto-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff1744 0%, #ff4569 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 5px 20px rgba(255, 23, 68, 0.3);
}

.crypto-icon.tether {
  background: linear-gradient(135deg, #ff1744 0%, #ff4569 100%);
}

.crypto-name {
  font-size: 1.1rem;
  color: #ffffff;
  font-weight: 600;
}

.card-price {
  margin-bottom: 1rem;
}

.price {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ff1744;
  display: block;
}

.card-cost {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  background: rgba(0, 0, 0, 0.3);
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.cost-label {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.6);
}

.cost-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}

.btn-buy {
  width: 100%;
  background: rgba(255, 23, 68, 0.15);
  color: #ff1744;
  border: 1px solid rgba(255, 23, 68, 0.4);
  padding: 1rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
}

.btn-buy:hover {
  background: #ff1744;
  color: #ffffff;
  border-color: #ff1744;
  box-shadow: 0 5px 20px rgba(255, 23, 68, 0.4);
}

/* Features section with red theme */
.features-section {
  padding: 6rem 0;
  background: rgba(255, 23, 68, 0.02);
}

.features-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6rem;
}

.features-title {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2.5rem;
  color: #ffffff;
}

.feature-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.feature-icon-small {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 23, 68, 0.15);
  border-radius: 12px;
  border: 1px solid rgba(255, 23, 68, 0.3);
}

.feature-text h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 0.5rem;
}

.feature-text p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.6;
}

.step-item {
  display: flex;
  gap: 1.25rem;
  margin-bottom: 2rem;
  align-items: flex-start;
}

.step-number {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 23, 68, 0.15);
  border: 2px solid rgba(255, 23, 68, 0.4);
  border-radius: 50%;
  font-weight: 700;
  color: #ff1744;
  font-size: 1.2rem;
}

.step-text p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.7;
  padding-top: 0.75rem;
}

.btn-learn {
  background: rgba(255, 23, 68, 0.15);
  color: #ff1744;
  border: 1px solid rgba(255, 23, 68, 0.4);
  padding: 1rem 2.5rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
  margin-top: 1rem;
}

.btn-learn:hover {
  background: #ff1744;
  color: #ffffff;
  border-color: #ff1744;
  box-shadow: 0 5px 20px rgba(255, 23, 68, 0.4);
}

.info-box {
  margin-top: 2rem;
  padding: 1.25rem;
  background: rgba(255, 23, 68, 0.08);
  border: 1px solid rgba(255, 23, 68, 0.3);
  border-radius: 12px;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.info-box svg {
  flex-shrink: 0;
  margin-top: 0.25rem;
}

.info-box p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

/* Wallet section with red theme */
.wallet-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, rgba(255, 23, 68, 0.03) 0%, transparent 100%);
}

.wallet-container {
  max-width: 650px;
  margin: 0 auto;
  padding: 0 2rem;
}

.wallet-card {
  background: rgba(255, 255, 255, 0.03);
  padding: 3rem;
  border-radius: 24px;
  border: 1px solid rgba(255, 23, 68, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

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

.wallet-header h3 {
  font-size: 2rem;
  color: #ffffff;
  margin-top: 1rem;
  font-weight: 700;
}

.wallet-info {
  background: rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  border: 1px solid rgba(255, 23, 68, 0.2);
}

.info-row {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-row:last-child {
  border-bottom: none;
}

.info-row .label {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.info-row .value {
  color: #ff1744;
  font-weight: 600;
  font-family: "Courier New", monospace;
}

.wallet-actions {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 2rem;
}

.wallet-actions .btn {
  width: 100%;
  justify-content: center;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem 2rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1rem;
  border: none;
}

.btn-primary {
  background: #ff1744;
  color: #ffffff;
}

.btn-primary:hover:not(:disabled) {
  background: #ff4569;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(255, 23, 68, 0.4);
}

.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.status {
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1.5rem;
  text-align: center;
}

.status:empty {
  display: none;
}

.status-processing {
  background: rgba(255, 193, 7, 0.1);
  border: 1px solid rgba(255, 193, 7, 0.3);
  color: #ffc107;
}

.status-success {
  background: rgba(255, 23, 68, 0.1);
  border: 1px solid rgba(255, 23, 68, 0.3);
  color: #ff1744;
}

.status-error {
  background: rgba(244, 67, 54, 0.1);
  border: 1px solid rgba(244, 67, 54, 0.3);
  color: #f44336;
}

.status a {
  color: #ff1744;
  text-decoration: underline;
}

.wallet-info-text {
  text-align: center;
  color: rgba(255, 255, 255, 0.4);
}

.wallet-info-text p {
  margin-bottom: 0.5rem;
}

.small-text {
  font-size: 0.85rem;
}

.loading {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #ff1744;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
}

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

/* Footer with red theme */
.footer {
  background: rgba(0, 0, 0, 0.6);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 23, 68, 0.2);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 3rem;
}

.footer-content {
  text-align: center;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.footer-text {
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #ff1744;
}

.footer-copyright {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.9rem;
}

/* Responsive design */
@media (max-width: 1024px) {
  .features-container {
    grid-template-columns: 1fr;
    gap: 4rem;
  }

  .hero-title {
    font-size: 3rem;
  }

  .glow-circle {
    width: 400px;
    height: 400px;
  }
}

@media (max-width: 768px) {
  .hamburger {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.98);
    flex-direction: column;
    padding: 2rem;
    gap: 1rem;
    transform: translateY(-100%);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s;
    border-bottom: 1px solid rgba(255, 23, 68, 0.2);
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  /* Show mobile-only buttons in mobile menu */
  .mobile-only {
    display: block;
  }

  /* Hide desktop nav buttons on mobile */
  .nav-buttons {
    display: none;
  }

  /* Language switcher stays visible and positioned properly on mobile */
  .language-switcher {
    position: absolute;
    right: 4rem;
    top: 50%;
    transform: translateY(-50%);
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .cards-container {
    grid-template-columns: 1fr;
  }

  .wallet-card {
    padding: 2rem 1.5rem;
  }

  .footer-links {
    flex-direction: column;
    gap: 1rem;
  }

  .glow-circle {
    width: 300px;
    height: 300px;
    left: -30%;
  }

  .hero-stats {
    flex-direction: column;
    gap: 1rem;
  }

  .stat-divider {
    transform: rotate(90deg);
  }
}

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

  .hero-description {
    font-size: 1rem;
  }

  .email-signup {
    flex-direction: column;
  }

  .nav-container {
    padding: 0 1.5rem;
  }

  .hero-container,
  .cards-container,
  .features-container,
  .footer-container {
    padding: 0 1.5rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  /* Adjust language switcher for smaller screens */
  .language-switcher {
    right: 3.5rem;
  }

  .lang-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }

  .lang-dropdown {
    min-width: 160px;
    right: 0;
  }
}
