:root {
    --brand-primary: #ffb347;
    --brand-dark: #1a2233;
    --brand-light: #fff;
    --brand-link: #121213;
    --brand-accent: #ff9900;
    --bg-dark: #000105;
}

/* body rules */
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    background: var(--bg-dark);
}

h1, h2 {
    font-size: 2.5rem;
    font-family: 'Space Grotesk', sans-serif;
}

h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
}

p, a, li {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
}

/* Navbar Styles */
.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: transparent !important; /* transparent background */
    padding: 0.75rem 2rem;
    box-shadow: none;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.brand-logo {
    height: 40px;
    width: 40px;
    margin-right: 0.75rem;
    border-radius: 8px;
    background: var(--brand-light);
    object-fit: cover;
    box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.brand-text {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    font-family: 'Orbitron', sans-serif;
}

.brand-text-orange{
    color: var(--brand-primary);
}
.brand-text-white {
    color: var(--brand-light);
}

.btn {
    padding: 0.5rem 1.25rem;
    border: none;
    border-radius: 999px; /* fully rounded buttons */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, color 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 2px 8px 0 rgba(0,0,0,0.08);
    outline: none;
    position: relative;
    z-index: 1;
}

.btn.sign-in {
    background: transparent;
    color: var(--brand-primary);
    border: 2px solid var(--brand-primary);
}

.btn.sign-in:hover {
    background: var(--brand-primary);
    color: var(--brand-dark);
}

.btn.get-started {
    background: var(--brand-primary);
    color: var(--brand-dark);
}

.btn.get-started:hover {
    background: var(--brand-accent);
    color: var(--brand-light);
}

.btn-primary {
    background: var(--brand-primary);
    color: var(--brand-light);
}
.btn-primary:hover, .btn-primary:focus {
    background: var(--brand-accent);
    color: var(--brand-dark);
    box-shadow: 0 4px 16px 0 rgba(255,179,71,0.25);
}

.btn-gradient {
    background: linear-gradient(90deg, var(--brand-primary) 0%, var(--brand-accent) 100%);
    color: var(--brand-light);
    border: none;
}
.btn-gradient:hover, .btn-gradient:focus {
    background: linear-gradient(90deg, var(--brand-accent) 0%, var(--brand-primary) 100%);
    color: var(--brand-dark);
    box-shadow: 0 4px 16px 0 rgba(255,179,71,0.25);
}

.btn-light {
    background: var(--brand-light);
    color: var(--brand-link);
    border: 2px solid var(--brand-light);
}
.btn-light:hover, .btn-light:focus {
    background: var(--brand-primary);
    color: var(--brand-dark);
    border-color: var(--brand-primary);
    box-shadow: 0 4px 16px 0 rgba(255,179,71,0.15);
}

.btn-dark {
    background: var(--brand-dark);
    color: var(--brand-light);
    border: 2px solid var(--brand-dark);
}
.btn-dark:hover, .btn-dark:focus {
    background: var(--brand-primary);
    color: var(--brand-dark);
    border-color: var(--brand-primary);
    box-shadow: 0 4px 16px 0 rgba(255,179,71,0.15);
}

.btn-dark-outline {
    background: transparent;
    color: var(--brand-light);
    border: 2px solid var(--brand-light);
}
.btn-dark-outline:hover, .btn-dark-outline:focus {
    background: var(--brand-dark);
    color: var(--brand-primary);
    border-color: var(--brand-primary);
    box-shadow: 0 4px 16px 0 rgba(255,179,71,0.15);
}

/* Hero Section Styles */
#hero-section {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-direction: row;
    text-align: left;
    min-width: 0;
    width: 100vw;
    min-height: calc(100vh - 72px); /* 72px is approx navbar height, adjust if needed */
    height: calc(100vh - 72px);
    position: relative;
    background: url('../../resources/img/coin-glass-bg.png') center center no-repeat;
    background-size: 950px auto;
}

.hero-text {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 4rem 3rem;
    position: relative;
    z-index: 2;
    background: transparent;
    border-radius: 1.5rem;
    max-width: 600px;
    margin-left: 3vw;
    box-shadow: none;
}

.hero-text-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    text-align: left;
    gap: 1.5rem;
}

.hero-text-container h1 {
    color: var(--brand-light);
    font-size: 2.8rem;
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    line-height: 1.1;
}

.hero-text-container p {
    color: var(--brand-light);
    font-size: 1.25rem;
    margin: 0.5rem 0 1.5rem 0;
}

.call-to-action {
    display: flex;
    gap: 1rem;
}

/* How It Works Section Styles */
.how-it-works-section {
  padding: 2rem 1rem;
  background: #fcfaf8;
  border-radius: 16px;
  margin-bottom: 2rem;
}
.how-it-works-header {
  font-size: 2rem;
  font-weight: 700;
  color: #1b150d;
  margin-bottom: 0.5rem;
  text-align: center;
}
.how-it-works-description {
  font-size: 1.1rem;
  color: #9a784c;
  text-align: center;
  margin-bottom: 2rem;
}
.how-it-works-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1.5rem;
  justify-items: center;
}
.how-it-works-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
}
.how-it-works-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.how-it-works-image {
  max-width: 350px;
  max-height: 350px;
  object-fit: contain;
  border-radius: 8px;
}

/* Supported Cryptocurrencies Section Styles */
.supported-cryptos-section {
  width: 100%;
  background: #fcfaf8;
  padding: 2rem 1rem;
  border-radius: 16px;
  margin-bottom: 2rem;
}
.supported-cryptos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1.5rem;
  justify-items: center;
  align-items: center;
}
.crypto-card {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.2s;
}
.crypto-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.10);
}
.crypto-image {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  border-radius: 8px;
}

@media (max-width: 900px) {
    #hero-section {
        flex-direction: column;
        align-items: flex-start;
        min-height: 60vh;
        background-position: center top;
    }
    .hero-text {
        margin: 2rem 1rem;
        padding: 2rem 1rem;
        max-width: 100%;
    }
}

@media (max-width: 600px) {
  .how-it-works-header {
    font-size: 1.3rem;
  }
  .how-it-works-cards {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .how-it-works-section {
    padding: 1rem 0.5rem;
  }
  .supported-cryptos-section {
    padding: 1rem 0.5rem;
  }
  .supported-cryptos-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .crypto-image {
    max-width: 60px;
    max-height: 60px;
  }
}

/* Set dark background and light text for all main content sections except hero */
main ~ div, /* the main content wrapper after hero */
main ~ div * {
  background-color: var(--bg-dark, #101010) !important;
  color: var(--text-light, #fff) !important;
  border-color: var(--border-dark, #222) !important;
}

/* Specific overrides for text and icons previously set to dark colors */
.text-\[#1b150d\],
.text-\[#9a784c\],
.text-\[#e7ddcf\],
.text-\[#fcfaf8\],
.text-\[#eb8d13\] {
  color: var(--text-light, #fff) !important;
}

.bg-\[#fcfaf8\],
.bg-\[#e7ddcf\] {
  background-color: var(--bg-dark, #101010) !important;
}

/* Make feature cards and testimonial cards stand out with a slightly lighter dark */
.layout-content-container .border-\[#e7ddcf\] {
  border-color: var(--border-dark, #222) !important;
}

.layout-content-container .bg-\[#fcfaf8\] {
  background-color: #181818 !important;
}

/* Footer links and copyright */
footer a,
footer p {
  color: var(--text-light, #fff) !important;
}
