/* =========================
   RESET
========================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  background: #f5f5f3;
  color: #151515;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

button,
input {
  font-family: inherit;
}

/* =========================
   VARIABLES
========================= */

:root {
  --black: #111111;
  --dark: #181818;

  --orange: #f7931a;

  --gold: #d9a441;

  --white: #ffffff;

  --gray: #777777;

  --light-gray: #e8e8e5;

  --container: 1180px;
}

/* =========================
   CONTAINER
========================= */

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: auto;
}

/* =========================
   HEADER
========================= */

.header {
  height: 78px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--light-gray);

  position: sticky;
  top: 0;

  z-index: 1000;

  backdrop-filter: blur(10px);
}

.nav {
  height: 100%;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* LOGO */

.logo {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -1px;
}

.logo span:last-child {
  color: var(--orange);
}

.logo-symbol {
  display: inline-flex;

  width: 30px;
  height: 30px;

  margin-right: 5px;

  align-items: center;
  justify-content: center;

  background: var(--black);
  color: var(--orange);

  border-radius: 50%;

  font-size: 17px;
}

/* MENU */

.menu {
  display: flex;
  gap: 32px;
}

.menu a {
  font-size: 14px;
  font-weight: 600;

  transition: 0.3s;
}

.menu a:hover {
  color: var(--orange);
}

.nav-actions {
  display: flex;
  gap: 10px;
}

.search-btn,
.menu-btn {
  border: none;
  background: none;

  cursor: pointer;

  font-size: 18px;
}

.menu-btn {
  display: none;
}

/* =========================
   SEARCH
========================= */

.search-box {
  display: none;

  background: var(--black);
  padding: 15px 0;
}

.search-box.active {
  display: block;
}

.search-box input {
  width: 100%;

  padding: 15px 20px;

  border: none;
  border-radius: 8px;

  outline: none;

  font-size: 16px;
}

/* =========================
   HERO
========================= */

.hero {
  background: var(--black);
  color: white;

  padding: 110px 0;
}

.hero-grid {
  display: grid;

  grid-template-columns: 1.1fr 0.9fr;

  gap: 70px;

  align-items: center;
}

.tag {
  display: inline-flex;

  align-items: center;

  gap: 8px;

  font-size: 11px;
  font-weight: 700;

  color: var(--orange);

  letter-spacing: 1.5px;

  margin-bottom: 25px;
}

.hero h1 {
  font-size: clamp(45px, 6vw, 76px);

  line-height: 1.02;

  letter-spacing: -4px;

  max-width: 700px;

  margin-bottom: 28px;
}

.hero h1 span {
  display: block;
  color: var(--orange);
}

.hero p {
  max-width: 620px;

  color: #b8b8b8;

  font-size: 18px;

  margin-bottom: 35px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

/* BUTTONS */

.btn {
  display: inline-flex;

  align-items: center;
  justify-content: center;

  gap: 10px;

  padding: 14px 22px;

  border-radius: 6px;

  font-weight: 700;

  font-size: 14px;

  transition: 0.3s;

  cursor: pointer;
}

.btn-primary {
  background: var(--orange);
  color: var(--black);
}

.btn-primary:hover {
  transform: translateY(-3px);
}

.btn-secondary {
  border: 1px solid #444;
  color: white;
}

.btn-secondary:hover {
  border-color: var(--orange);
  color: var(--orange);
}

/* =========================
   HERO MARKET CARD
========================= */

.hero-card {
  background: #1e1e1e;

  border: 1px solid #333;

  border-radius: 15px;

  padding: 25px;

  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
}

.market-header {
  display: flex;

  justify-content: space-between;

  font-size: 11px;
  font-weight: 700;

  color: #aaa;

  letter-spacing: 1px;
}

.live {
  color: #62d98a;
}

.live span {
  width: 7px;
  height: 7px;

  display: inline-block;

  background: #62d98a;

  border-radius: 50%;

  margin-right: 5px;
}

/* CHART */

.market-chart {
  height: 250px;

  position: relative;

  margin: 30px 0;

  overflow: hidden;
}

.market-chart::before {
  content: "";

  position: absolute;

  inset: 0;

  background-image:
    linear-gradient(#333 1px, transparent 1px),
    linear-gradient(90deg, #333 1px, transparent 1px);

  background-size: 50px 50px;

  opacity: 0.35;
}

.chart-line {
  position: absolute;

  left: 0;
  bottom: 45px;

  width: 100%;
  height: 130px;

  background: linear-gradient(
    135deg,
    transparent 10%,
    transparent 15%,
    var(--orange) 16%,
    var(--orange) 18%,
    transparent 19%,
    transparent 28%,
    var(--orange) 29%,
    var(--orange) 31%,
    transparent 32%,
    transparent 43%,
    var(--orange) 44%,
    var(--orange) 46%,
    transparent 47%,
    transparent 58%,
    var(--orange) 59%,
    var(--orange) 61%,
    transparent 62%,
    transparent 73%,
    var(--orange) 74%,
    var(--orange) 76%,
    transparent 77%,
    transparent
  );
}

.market-data {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  border-top: 1px solid #333;

  padding-top: 20px;
}

.market-data div {
  display: flex;
  flex-direction: column;
}

.market-data small {
  color: #777;
}

.market-data strong {
  color: white;
}

/* =========================
   TICKER
========================= */

.ticker {
  overflow: hidden;

  background: var(--orange);

  padding: 13px 0;
}

.ticker-content {
  display: flex;

  gap: 35px;

  width: max-content;

  animation: ticker 25s linear infinite;

  font-size: 12px;
  font-weight: 800;
}

.ticker-content b {
  opacity: 0.5;
}

@keyframes ticker {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-30%);
  }
}

/* =========================
   SECTIONS
========================= */

.section {
  padding: 100px 0;
}

.dark-section {
  background: var(--black);
  color: white;
}

.section-heading {
  display: flex;

  justify-content: space-between;

  align-items: end;

  gap: 40px;

  margin-bottom: 50px;
}

.section-heading > div {
  max-width: 650px;
}

.section-heading p {
  max-width: 430px;

  color: var(--gray);
}

.dark-section .section-heading p {
  color: #999;
}

.section-label {
  display: block;

  font-size: 11px;

  font-weight: 800;

  color: var(--orange);

  letter-spacing: 2px;

  margin-bottom: 12px;
}

.section h2 {
  font-size: clamp(32px, 5vw, 50px);

  letter-spacing: -2px;

  line-height: 1.1;
}

/* =========================
   CARDS
========================= */

.cards {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 20px;
}

.card {
  background: #1d1d1d;

  border: 1px solid #333;

  border-radius: 10px;

  padding: 30px;

  transition: 0.3s;
}

.card:hover {
  transform: translateY(-7px);

  border-color: var(--orange);
}

.card-icon {
  width: 50px;
  height: 50px;

  display: flex;

  align-items: center;
  justify-content: center;

  border-radius: 10px;

  background: #292929;

  color: var(--orange);

  font-size: 23px;

  margin-bottom: 25px;
}

.card-category {
  color: var(--orange);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 1.5px;
}

.card h3 {
  font-size: 22px;

  line-height: 1.2;

  margin: 12px 0;
}

.card p {
  color: #999;

  font-size: 14px;

  margin-bottom: 25px;
}

.read-more {
  font-size: 13px;

  font-weight: 700;

  color: white;
}

.read-more:hover {
  color: var(--orange);
}

/* =========================
   OPPORTUNITIES
========================= */

.opportunity-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  border-top: 1px solid var(--light-gray);
  border-left: 1px solid var(--light-gray);
}

.opportunity {
  position: relative;

  padding: 30px;

  min-height: 300px;

  border-right: 1px solid var(--light-gray);
  border-bottom: 1px solid var(--light-gray);

  transition: 0.3s;
}

.opportunity:hover {
  background: white;
}

.opportunity-number {
  font-size: 12px;

  color: #aaa;

  margin-bottom: 50px;
}

.opportunity i {
  font-size: 30px;

  color: var(--orange);

  margin-bottom: 20px;
}

.opportunity h3 {
  font-size: 20px;

  margin-bottom: 10px;
}

.opportunity p {
  color: var(--gray);

  font-size: 13px;
}

.risk {
  position: absolute;

  bottom: 25px;
  left: 30px;

  font-size: 9px;

  font-weight: 800;

  letter-spacing: 1px;
}

.medium {
  color: #d58b19;
}

.low {
  color: #4c9b68;
}

/* =========================
   CALCULATOR
========================= */

.calculator-section {
  padding: 100px 0;

  background: #e9e9e6;
}

.calculator-container {
  display: grid;

  grid-template-columns: 1fr 1fr;

  gap: 80px;

  align-items: center;
}

.calculator-container > div:first-child p {
  max-width: 500px;

  color: var(--gray);

  margin-top: 20px;
}

.calculator {
  background: white;

  padding: 35px;

  border-radius: 12px;

  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.input-group {
  margin-bottom: 20px;
}

.input-group label {
  display: block;

  font-size: 12px;

  font-weight: 700;

  margin-bottom: 8px;
}

.input-group input {
  width: 100%;

  border: 1px solid #ddd;

  padding: 13px;

  border-radius: 6px;

  outline: none;
}

.input-group input:focus {
  border-color: var(--orange);
}

.input-wrapper {
  display: flex;

  align-items: center;

  border: 1px solid #ddd;

  border-radius: 6px;

  overflow: hidden;
}

.input-wrapper span {
  padding-left: 14px;

  font-weight: 700;

  color: #888;
}

.input-wrapper input {
  border: none;
}

.calculate-btn {
  border: none;

  width: 100%;
}

.result {
  border-top: 1px solid #ddd;

  margin-top: 25px;

  padding-top: 20px;
}

.result span {
  display: block;

  font-size: 12px;

  color: #777;
}

.result strong {
  display: block;

  font-size: 32px;

  margin-top: 5px;
}

/* =========================
   BUSINESS
========================= */

.business-grid {
  display: grid;

  grid-template-columns: repeat(2, 1fr);

  gap: 25px;
}

.business-card {
  background: white;

  border-radius: 10px;

  overflow: hidden;

  border: 1px solid #ddd;

  display: grid;

  grid-template-columns: 40% 60%;

  transition: 0.3s;
}

.business-card:hover {
  transform: translateY(-5px);

  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.business-image {
  min-height: 280px;

  background: #191919;

  color: var(--orange);

  display: flex;

  align-items: center;
  justify-content: center;

  font-size: 60px;
}

.business-content {
  padding: 30px;
}

.business-content span {
  color: var(--orange);

  font-size: 10px;

  font-weight: 800;

  letter-spacing: 1px;
}

.business-content h3 {
  font-size: 24px;

  line-height: 1.2;

  margin: 15px 0;
}

.business-content p {
  color: var(--gray);

  font-size: 14px;

  margin-bottom: 25px;
}

.business-content a {
  font-size: 13px;

  font-weight: 800;
}

/* =========================
   ARTICLES
========================= */

.articles-section {
  background: white;
}

.articles-grid {
  display: grid;

  grid-template-columns: repeat(3, 1fr);

  gap: 25px;
}

.article {
  border: 1px solid #ddd;

  border-radius: 8px;

  overflow: hidden;

  transition: 0.3s;
}

.article:hover {
  transform: translateY(-5px);

  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
}

.article-image {
  height: 220px;

  position: relative;

  display: flex;

  align-items: end;

  padding: 20px;
}

.article-image span {
  background: var(--orange);

  padding: 6px 10px;

  font-size: 9px;

  font-weight: 800;
}

.crypto-bg {
  background:
    radial-gradient(circle at 30% 40%, #f7931a 0, transparent 25%), #151515;
}

.ai-bg {
  background:
    radial-gradient(circle at 70% 30%, #8a8a8a 0, transparent 25%), #222;
}

.money-bg {
  background:
    radial-gradient(circle at 50% 50%, #d9a441 0, transparent 30%), #191919;
}

.article-content {
  padding: 25px;
}

.article-content small {
  color: #888;

  font-size: 10px;
}

.article-content h3 {
  font-size: 20px;

  line-height: 1.25;

  margin: 12px 0;
}

.article-content p {
  color: var(--gray);

  font-size: 13px;

  margin-bottom: 20px;
}

.article-content a {
  font-size: 12px;

  font-weight: 800;
}

/* =========================
   NEWSLETTER
========================= */

.newsletter {
  background: var(--orange);

  padding: 80px 0;
}

.newsletter-content {
  display: flex;

  justify-content: space-between;

  align-items: center;

  gap: 50px;
}

.newsletter h2 {
  font-size: 40px;

  line-height: 1.1;

  max-width: 600px;
}

.newsletter p {
  margin-top: 15px;

  max-width: 500px;
}

.newsletter form {
  display: flex;

  min-width: 450px;
}

.newsletter input {
  flex: 1;

  border: none;

  padding: 16px;

  outline: none;
}

.newsletter button {
  border: none;

  background: var(--black);

  color: white;

  padding: 0 20px;

  cursor: pointer;

  font-weight: 700;
}

/* =========================
   FOOTER
========================= */

.footer {
  background: var(--black);

  color: white;

  padding-top: 70px;
}

.footer-grid {
  display: grid;

  grid-template-columns: 2fr 1fr 1fr 1.5fr;

  gap: 50px;

  padding-bottom: 60px;
}

.footer p {
  color: #777;

  font-size: 13px;

  margin-top: 20px;

  max-width: 350px;
}

.footer h4 {
  margin-bottom: 20px;
}

.footer-grid a:not(.logo) {
  display: block;

  color: #999;

  font-size: 13px;

  margin: 10px 0;
}

.footer-grid a:hover {
  color: var(--orange);
}

.disclaimer {
  font-size: 11px !important;
}

.footer-bottom {
  border-top: 1px solid #292929;

  padding: 25px 0;

  color: #666;

  font-size: 11px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 900px) {
  .menu {
    position: absolute;

    top: 78px;
    left: 0;

    width: 100%;

    background: white;

    display: none;

    flex-direction: column;

    padding: 25px;

    border-bottom: 1px solid #ddd;
  }

  .menu.active {
    display: flex;
  }

  .menu-btn {
    display: block;
  }

  .hero-grid,
  .calculator-container {
    grid-template-columns: 1fr;
  }

  .hero {
    padding: 80px 0;
  }

  .cards,
  .articles-grid {
    grid-template-columns: 1fr 1fr;
  }

  .opportunity-grid {
    grid-template-columns: 1fr 1fr;
  }

  .newsletter-content {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter form {
    width: 100%;
    min-width: 0;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 600px) {
  .container {
    width: min(var(--container), calc(100% - 30px));
  }

  .hero h1 {
    letter-spacing: -2px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .cards,
  .articles-grid,
  .business-grid,
  .opportunity-grid {
    grid-template-columns: 1fr;
  }

  .business-card {
    grid-template-columns: 1fr;
  }

  .business-image {
    min-height: 180px;
  }

  .section-heading {
    flex-direction: column;

    align-items: flex-start;
  }

  .newsletter h2 {
    font-size: 30px;
  }

  .newsletter form {
    flex-direction: column;

    gap: 10px;
  }

  .newsletter button {
    padding: 15px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}
