/* ==================================================
   UZOXCHANGE - GLOBAL STYLES
   ================================================== */

/* ==================== RESET & DEFAULTS ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Inter", "Segoe UI", sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  background: linear-gradient(135deg, #0b0f2b, #1a1f5c);
  color: #fff;
  overflow-x: hidden;
  line-height: 1.6;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 8%;
  background: #000;
}

.logo {
  font-size: 1.6rem;
  font-weight: bold;
}

.logo img {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.logo span {
  color: #6a5cff;
}

nav a {
  margin: 0 15px;
  color: #ddd;
  text-decoration: none;
  position: relative;
}

nav a.active,
nav a:hover {
  color: #fff;
}

nav a.active::after {
  content: "";
  width: 100%;
  height: 2px;
  background: #6a5cff;
  position: absolute;
  bottom: -6px;
  left: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn {
  padding: 10px 20px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.login {
  background: transparent;
  border: 1px solid #6a5cff;
  color: #fff;
}

.register {
  background: linear-gradient(45deg, #6a5cff, #ff5c8a);
  color: #fff;
}

.menu-toggle {
  display: none;
  font-size: 1.6rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 80px 8%;
  gap: 40px;
}

.hero-content h1 {
  font-size: 3rem;
  line-height: 1.2;
}

.hero-content p {
  margin: 20px 0;
  color: #ccc;
  max-width: 480px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.primary {
  background: linear-gradient(45deg, #6a5cff, #ff5c8a);
  color: white;
}

.secondary {
  background: transparent;
  border: 1px solid #6a5cff;
  color: white;
}

.hero-image img {
  width: 100%;
  max-width: 520px;
  animation: float 4s ease-in-out infinite;
}

/* Animation */
@keyframes float {
  0% { transform: translateY(0); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-buttons {
    justify-content: center;
  }
}

@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    right: 8%;
    background: #12175a;
    flex-direction: column;
    width: 160px;
    padding: 8px;
    display: none;
    border-radius: 10px;
    gap: 6px;
    z-index: 1000;
    pointer-events: auto;
    max-height: calc(100vh - 80px);
    overflow-y: auto;
  }

  nav.show {
    display: flex;
  }

  nav a {
    margin: 0;
    padding: 6px 8px;
    font-size: 13px;
  }

  .menu-toggle {
    display: block;
  }
}


/* Action Cards */
.actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  padding: 30px 8%;
}

.action-card {
  background: white;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.08);
  position: relative;
    background-image: url(beat.webp);
    background-repeat: no-repeat;
    background-size: cover;
}

.action-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #fff;
}

.action-card p {
  color: white;
  margin-bottom: 20px;
}

.buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

/* Buttons */
.btn {
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  font-size: 0.9rem;
}

.primary {
  background: linear-gradient(45deg, #6a5cff, #ff5c8a);
  color: white;
}

.secondary {
  background: #0d1b4c;
  color: white;
}

/* Market Section */
.market {
  padding: 20px 8% 80px;
}

.market h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
  border-bottom: 3px solid #6a5cff;
  display: inline-block;
}

.market-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.rate-card {
  background: white;
  border-radius: 14px;
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}

.icon {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: white;
}

.btc { background: #f7931a; }
.eth { background: #627eea; }
.sol { background: #00ffa3; }
.doge { background: #c2a633; }
.bnb { background: #f0b90b; }
.xrp { background: #346aa9; }
.ada { background: #3cc8c8; }
.dot { background: #e6007a; }

.hidden {
  display: none !important;
}

.rate-card h4 {
  margin: 0;
  font-size: 1rem;
  color: #1a1a1a;
}

.view-all {
  display: block;
  margin: 40px auto 0;
  padding: 14px 35px;
  border-radius: 12px;
  border: none;
  background: linear-gradient(45deg, #6a5cff, #ff5c8a);
  color: white;
  font-size: 1rem;
  cursor: pointer;
}

/* Responsive tweaks */
@media (max-width: 600px) {
  .buttons {
    flex-direction: column;
  }
}


/* Section */
.how-it-works {
  padding: 40px 8% 60px;
  text-align: center;
}

/* Header */
.section-header h2 {
  font-size: 2.2rem;
  margin-bottom: 8px;
}

.section-header p {
  color: #666;
  margin-bottom: 50px;
}

/* Steps */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
}

/* Step Card */
.step-card {
  background: white;
  padding: 40px 25px 30px;
  border-radius: 18px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  position: relative;
}

.step-card h3{
  color: #0d1b4c;
}

.step-number {
  position: absolute;
  top: -20px;
  left: 20px;
  font-size: 2.5rem;
  font-weight: bold;
  color: #6a5cff;
}

.icon {
  font-size: 3rem;
  margin-bottom: 15px;
}

.step-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.step-card p {
  color: #666;
  font-size: 0.95rem;
}

/* Trust Bar */
.trust-bar {
  margin-top: 60px;
  padding: 20px;
  border-radius: 14px;
  background: linear-gradient(45deg, #6a5cff, #ff5c8a);
  color: white;
  display: flex;
  justify-content: center;
  gap: 30px;
  flex-wrap: wrap;
  font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 600px) {
  .section-header h2 {
    font-size: 1.8rem;
  }

  .trust-bar {
    gap: 15px;
    text-align: center;
  }
}


/* Footer */
.footer {
  background: linear-gradient(135deg, #0d1b4c, #1a2f7c);
  color: #ccc;
  padding: 60px 8% 20px;
  margin-top: 80px;
  border-top: 1px solid rgba(106, 92, 255, 0.3);
}

.footer-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
  max-width: 1400px;
  margin: 0 auto;
  margin-bottom: 40px;
}

.footer-column h4 {
  color: #fff;
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 600;
}

.footer-column p {
  line-height: 1.6;
  font-size: 0.95rem;
  color: #aaa;
}

.footer-column ul {
  list-style: none;
}

.footer-column ul li {
  margin-bottom: 12px;
}

.footer-column ul li a {
  color: #aaa;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-column ul li a:hover {
  color: #6a5cff;
}

.social-links {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.social-links a {
  display: inline-block;
  padding: 8px 16px;
  background: rgba(106, 92, 255, 0.2);
  border: 1px solid rgba(106, 92, 255, 0.5);
  border-radius: 8px;
  color: #aaa;
  text-decoration: none;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  background: #6a5cff;
  color: #fff;
  border-color: #6a5cff;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(106, 92, 255, 0.2);
  color: #888;
  font-size: 0.9rem;
}

/* Responsive Footer */
@media (max-width: 768px) {
  .footer {
    padding: 40px 8% 20px;
    margin-top: 60px;
  }

  .footer-container {
    gap: 30px;
    grid-template-columns: 1fr 1fr;
  }

  .footer-column h4 {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .footer {
    padding: 30px 5% 15px;
    margin-top: 40px;
  }

  .footer-container {
    gap: 25px;
    grid-template-columns: 1fr;
  }

  .footer-column {
    text-align: center;
  }

  .footer-column ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  .footer-column ul li {
    margin-bottom: 0;
  }

  .social-links {
    justify-content: center;
  }

  .footer-bottom {
    padding-top: 20px;
    font-size: 0.85rem;
  }
}
