/* ========== RESET ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* ========== BODY ========== */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f5f7fb;
  color: #333;
  line-height: 1.6;
}

/* ========== CONTAINER ========== */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
}

/* ========== HEADER ========== */
header {
  background: #0a2540;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 0;
}

.logo h1 {
  font-size: 1.5rem;
}

/* NAV */
nav {
  margin-left: auto;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 25px;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
}

nav ul li a:hover {
  color: #f0a500;
}

/* BUTTONS */
.auth-buttons .btn {
  margin-left: 10px;
  padding: 7px 14px;
  background: #f0a500;
  color: #fff;
  border-radius: 5px;
  text-decoration: none;
  transition: 0.3s;
}

.auth-buttons .btn:hover {
  background: #d48f00;
}

/* HAMBURGER */
.menu-toggle {
  display: none;
  font-size: 26px;
  cursor: pointer;
}

/* WELCOME TEXT */
.welcome-text {
  text-align: center;
  background: #081a2c;
  padding: 8px;
  font-size: 14px;
}

/* ========== HERO ========== */
.hero {
  background: linear-gradient(rgba(10,37,64,0.85), rgba(10,37,64,0.85)),
              url('hero-bg.jpg') center/cover no-repeat;
  color: #fff;
  text-align: center;
  padding: 6rem 2rem;
}

.hero h2 {
  font-size: 2.4rem;
  margin-bottom: 1rem;
}

.hero p {
  max-width: 700px;
  margin: auto;
  margin-bottom: 2rem;
}

.btn {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 5px;
  text-decoration: none;
}

.btn-primary {
  background: #f0a500;
  color: #fff;
}

/* ========== SERVICES ========== */
.services {
  padding: 4rem 0;
  background: #fff;
}

.services h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
}

.service {
  background: #f4f6fb;
  padding: 2rem;
  border-radius: 10px;
  transition: 0.3s;
}

.service:hover {
  transform: translateY(-6px);
}

.service h3 {
  margin-bottom: 10px;
}

.service ul {
  margin-top: 10px;
  padding-left: 18px;
}

/* ========== WHY US ========== */
.why-us {
  background: #0a2540;
  color: #fff;
  padding: 4rem 0;
}

.why-us h2 {
  margin-bottom: 1rem;
}

.why-us ul {
  margin-top: 20px;
  list-style: none;
}

.why-us li {
  padding: 8px 0;
}

/* ========== TESTIMONIALS ========== */
.testimonials {
  background: #eef1f7;
  padding: 4rem 2rem;
}

.testimonials h2 {
  text-align: center;
  margin-bottom: 2rem;
}

.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.testimonial {
  background: #fff;
  padding: 1.5rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.testimonial p {
  font-style: italic;
  margin-bottom: 10px;
}

.testimonial h4 {
  text-align: right;
  color: #0a2540;
}

/* ========== GET STARTED ========== */
.get-started {
  background: #f5f7fb;
  text-align: center;
  padding: 4rem 2rem;
}

.get-started p {
  max-width: 700px;
  margin: auto;
  margin-bottom: 20px;
}

/* ========== CONTACT ========== */
.contact {
  padding: 4rem 2rem;
  background: #fff;
  text-align: center;
}

.contact h2 {
  margin-bottom: 20px;
}

.contact form {
  max-width: 500px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact input,
.contact textarea {
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 6px;
  outline: none;
  transition: 0.3s;
}

.contact input:focus,
.contact textarea:focus {
  border-color: #0a2540;
  box-shadow: 0 0 5px rgba(10,37,64,0.2);
}

.contact button {
  padding: 12px;
  border: none;
  background: #0a2540;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.3s;
}

.contact button:hover {
  background: #f0a500;
}

/* ========== FOOTER ========== */
footer {
  background: #0a2540;
  color: #fff;
  text-align: center;
  padding: 1rem;
}

/* ========== MOBILE ========== */
@media (max-width: 768px) {

  .menu-toggle {
    display: block;
    color: #fff;
  }

  nav {
    position: absolute;
    top: 65px;
    right: 0;
    width: 100%;
    background: #0a2540;

    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  nav.active {
    max-height: 320px;
  }

  nav ul {
    flex-direction: column;
    padding: 20px;
    gap: 15px;
  }

  .auth-buttons {
    display: none;
  }

  .hero h2 {
    font-size: 1.8rem;
  }
}
/* ========================= */
/* 🔥 PRO CRYPTO TICKER */
/* ========================= */

.crypto-ticker {
  width: 100%;
  overflow: hidden;
  background: #020617;
  border-top: 1px solid #1e293b;
  border-bottom: 1px solid #1e293b;
  padding: 12px 0;
  position: relative;
}

/* Wrapper moves */
.ticker-wrapper {
  display: flex;
  width: max-content;
  animation: scrollTicker 30s linear infinite;
}

/* Pause on hover (PRO FEATURE) */
.crypto-ticker:hover .ticker-wrapper {
  animation-play-state: paused;
}

/* Content blocks */
.ticker-content {
  display: flex;
  gap: 50px;
  padding-right: 50px;
}

/* Each coin */
.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: #e2e8f0;
  transition: transform 0.2s ease;
}

/* Hover effect */
.ticker-item:hover {
  transform: scale(1.1);
}

/* PRICE COLORS */
.up {
  color: #22c55e; /* green */
}

.down {
  color: #ef4444; /* red */
}

/* ANIMATION */
@keyframes scrollTicker {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.prices {
  margin-top: 30px;
  max-width: 350px;
  margin-left: auto;
  margin-right: auto;
  background: rgba(2, 6, 23, 0.95);
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #1e293b;
  box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

.coin {
  display: flex;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid #1e293b;
  font-weight: 500;
  color: #e2e8f0;
}

.coin:last-child {
  border-bottom: none;
}

.coin span {
  font-weight: bold;
  color: #38bdf8;
}

/* Hover effect */
.coin:hover {
  background: rgba(56, 189, 248, 0.08);
  border-radius: 6px;
  transition: 0.2s;
}
.chat-icon {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: #0a2540;
  color: #fff;
  font-size: 22px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
  transition: 0.3s;
  z-index: 999;
}

.chat-icon:hover {
  background: #f0a500;
  transform: scale(1.1);
}
.success-msg {
  background: #16a34a;
  color: #fff;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
}

.error-msg {
  background: #dc2626;
  color: #fff;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 5px;
}