:root {
  --blue: #0052ff;
  --green: #14c88b;
  --yellow: #ffc800;
  --violet: #a259ff;
  --text: #1a2237;
  --bg: #fff;
  --gray: #f6f6f6;
  --border: #e6e6ed;
  --button-bg: #0052ff;
  --button-hover: #003fb3;
  --button-text: #fff;
  --primary-font: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html,
body {
  font-family: var(--primary-font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.5;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.2rem 2rem;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar-logo img {
  height: 32px;
}

.navbar-links {
  display: flex;
  gap: 1.5rem;
}

.navbar-links a {
  font-weight: 500;
  transition: color 0.2s;
}

.navbar-links a:hover {
  color: var(--blue);
}

.navbar-actions {
  display: flex;
  gap: 1rem;
}

.button {
  padding: 0.55rem 1.5rem;
  border: none;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
  display: inline-block;
}

.button.primary {
  background: var(--button-bg);
  color: var(--button-text);
}

.button.primary:hover {
  background: var(--button-hover);
}

.button.ghost {
  background: transparent;
  color: var(--blue);
  border: 2px solid var(--blue);
}

.button.ghost:hover {
  background: var(--blue);
  color: var(--button-text);
}

.button.secondary {
  background: var(--gray);
  color: var(--blue);
  border: 1px solid var(--blue);
}

.button.large {
  padding: 1rem 2.5rem;
  font-size: 1.25rem;
}

.hero {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1160px;
  margin: 2.5rem auto 0 auto;
  padding: 2rem 1rem 3.5rem 1rem;
  gap: 3.5rem;
  /* background: var(--gray); */
  border-radius: 2rem;
}

.hero-content {
  max-width: 460px;
  flex: 2;
}

.hero-content h1 {
  font-size: 2.75rem;
  font-weight: 700;
  margin-bottom: 1.3rem;
}

.hero-content p {
  font-size: 1.25rem;
  color: #363d55;
  margin-bottom: 2rem;
}

.signup-form {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.65rem;
}

.signup-form input {
  padding: 0.75rem 1.2rem;
  font-size: 1rem;
  border: 1.5px solid var(--border);
  border-radius: 999px;
  outline: none;
  flex: 1 0 140px;
}

.sub {
  font-size: 0.95rem;
  color: #8480ae;
}

.hero-image {
  flex: 3;
  min-width: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-image img {
  width: 560px;
  max-width: 100%;
  border-radius: 1.5rem;
  box-shadow: 0 20px 52px -8px rgba(0, 82, 255, 0.08);
}

.features {
  display: flex;
  gap: 2rem;
  justify-content: center;
  background: var(--bg);
  padding: 3rem 2rem;
  margin: 0 auto;
  max-width: 1140px;
}

.feature-card {
  flex: 1 1 0px;
  background: var(--gray);
  border-radius: 1.3rem;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 8px 0 rgba(150, 170, 255, 0.07);
}

.icon {
  width: 50px;
  height: 50px;
  margin: 0 auto 1.1rem auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 1.7rem;
}

.icon img {
  width: 34px;
  height: 34px;
}

.bg-blue {
  background: #ebf1ff;
}
.bg-green {
  background: #e8fff1;
}
.bg-yellow {
  background: #fff9ea;
}
.bg-violet {
  background: #f4edfa;
}

.features h3 {
  font-size: 1.2rem;
  margin-bottom: 0.7rem;
  font-weight: 600;
}

.features p {
  font-size: 1rem;
  color: #555d69;
}

.price-ticker {
  background: var(--gray);
  padding: 3rem 1rem;
  text-align: center;
}

.price-ticker h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 2rem;
}

.ticker-list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.6rem;
  margin-bottom: 1.8rem;
}

.ticker-card {
  background: #fff;
  border: 1.2px solid var(--border);
  padding: 1.3rem 1.2rem 1.1rem 1.2rem;
  border-radius: 1.2rem;
  box-shadow: 0 2px 8px 0 rgba(0, 52, 255, 0.06);
  min-width: 175px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ticker-card img {
  width: 28px;
  height: 28px;
  margin-bottom: 0.7rem;
}

.ticker-name {
  font-weight: 600;
}

.ticker-symbol {
  color: #8480ae;
  margin-bottom: 0.1rem;
  font-size: 0.98rem;
}

.ticker-price {
  font-size: 1.15rem;
  font-weight: 600;
  margin-bottom: 0.2rem;
}

.ticker-change {
  font-size: 0.9rem;
  border-radius: 8px;
  padding: 2px 8px;
  margin-top: 0.2rem;
}
.ticker-change.up {
  background: #e8fff1;
  color: #14c88b;
}
.ticker-change.down {
  background: #ffeaea;
  color: #f95151;
}

.about {
  max-width: 1110px;
  margin: 3.5rem auto;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  padding: 2rem;
}

.about-content {
  flex: 2;
}
.about-content h2 {
  font-size: 2rem;
  font-weight: 600;
  margin-bottom: 1.1rem;
}
.about-content p {
  color: #474b6b;
  font-size: 1.13rem;
  margin-bottom: 1.4rem;
}
.about-content ul {
  list-style: none;
  margin-bottom: 1.8rem;
}
.about-content ul li {
  padding: 0.3rem 0;
  font-size: 1.01rem;
}
.about-image {
  flex: 1.5;
  min-width: 220px;
}
.about-image img {
  border-radius: 1.2rem;
  box-shadow: 0 10px 22px 0 rgba(125, 120, 190, 0.18);
}

.brands {
  background: #faf7ef;
  padding: 3rem 1rem;
  text-align: center;
}

.brands h2 {
  font-size: 1.7rem;
  font-weight: 600;
  margin-bottom: 1.4rem;
}

.brand-logos {
  display: flex;
  gap: 2rem;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
}
.brand-logos img {
  max-width: 110px;
  max-height: 38px;
  opacity: 0.74;
  transition: opacity 0.2s;
}
.brand-logos img:hover {
  opacity: 1;
}

.cta {
  background: var(--blue);
  color: #fff;
  text-align: center;
  padding: 3.5rem 1rem;
}
.cta h2 {
  font-size: 2rem;
  margin-bottom: 1.3rem;
  font-weight: 600;
}
.cta .button.primary {
  background: #fff;
  color: var(--blue);
  border: 2px solid var(--blue);
  margin-bottom: 1.2rem;
}
.cta .button.primary:hover {
  background: var(--gray);
}
.cta-note {
  color: #dee5fa;
  font-size: 1rem;
}

.footer {
  background: var(--bg);
  border-top: 1.2px solid var(--border);
  padding: 2rem 1rem;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem 3rem;
  font-size: 0.99rem;
  max-width: 1140px;
  margin: 0 auto 1.2rem auto;
}

.footer-logo img {
  height: 32px;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #444a60;
  font-weight: 500;
  transition: color 0.2s;
}
.footer-links a:hover {
  color: var(--blue);
}

.footer-social {
  display: flex;
  gap: 1.1rem;
}
.footer-social img {
  width: 25px;
  height: 25px;
  opacity: 0.8;
  transition: opacity 0.2s;
}
.footer-social img:hover {
  opacity: 1;
}

.footer-copy {
  color: #a2a1be;
  flex-basis: 100vw;
  font-size: 0.93rem;
  margin-top: 0.7rem;
}

/* Responsive Design */
@media (max-width: 1050px) {
  .hero {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    gap: 2.3rem;
  }
  .features {
    gap: 1rem;
    flex-wrap: wrap;
  }
  .about {
    flex-direction: column;
    gap: 2.3rem;
    padding: 2rem 0.5rem;
  }
  /* .footer {
    gap: 1.2rem 1.2rem;
    flex-direction: column;
    align-items: center;
  } */
}

@media (max-width: 700px) {
  .navbar {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem;
  }
  .navbar-links {
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
  }
  .features {
    flex-direction: column;
    gap: 1.2rem;
    padding: 2rem 0.5rem;
  }
  .about,
  .hero {
    padding: 1.2rem 0.5rem;
  }
  .price-ticker,
  .brands,
  .cta {
    padding: 2rem 0.5rem;
  }
}
/* mobile header css */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem;
  position: relative;
}

.navbar-links {
  display: flex;
  gap: 1.5rem;
}

.navbar-actions {
  display: flex;
  gap: 1rem;
}

.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px 0;
  background-color: #333;
  transition: all 0.3s ease;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }

  .navbar-links,
  .navbar-actions {
    display: none;
    width: 100%;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    padding: 1rem;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  }

  .navbar-actions {
    top: calc(100% + 160px); /* Adjust based on links height */
  }

  .navbar.active .navbar-links,
  .navbar.active .navbar-actions {
    display: flex;
  }

  /* Hamburger animation */
  .navbar.active .hamburger .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }
  .navbar.active .hamburger .bar:nth-child(2) {
    opacity: 0;
  }
  .navbar.active .hamburger .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }
}
