/* --- Global Reset & Base --- */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Roboto', sans-serif;
    background-color: #ffffff;
}

.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 5.5%; /* Matches Figma's 5.49% side alignment */
}

/* --- Header / Nav Bar --- */
.site-header {
    width: 100%;
    height: 108px;           /* Figma Height */
    background: #F5F5F5;     /* Figma Background */
    box-shadow: 1px 1px 5.2px rgba(0, 0, 0, 0.25); /* Figma Shadow */
    display: flex;
    align-items: center;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo-img {
    height: 64px; /* Scaled to fit 108px header comfortably */
    width: auto;
    display: block;
}

/* --- Navigation Links --- */
.nav-links {
    display: flex;
    gap: 25px; /* Figma Gap */
}

.nav-link {
    text-decoration: none;
    font-family: 'Roboto', sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 18px;      /* Figma Font Size */
    line-height: 21px;    /* Figma Line Height */
    color: #0D3B66;       /* Figma Text Color */
    position: relative;   /* For the custom underline */
    padding: 0;
    transition: color 0.2s ease;
}

/* Active State: The Underline */
.nav-link.is-active {
    font-weight: 500; /* Makes active link slightly more prominent */
}

.nav-link.is-active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #0D3B66;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .site-header {
        height: auto;
        padding: 15px 0;
    }
    .nav-container {
        flex-direction: column;
        gap: 15px;
    }
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
}
/*=============================
* Privacy Hero Section
=============================*/
.privacy-hero {
  /* Matches the deep blue gradient in the image */
  background: linear-gradient(180deg, #0d3b66 0%, #175a9e 50%, #0d3b66 100%);
  padding: 8rem 0; /* Plenty of space above and below */
  color: #ffffff;
  text-align: center;
}

.privacy-hero-content {
  max-width: 800px; /* Constrains text for better readability */
  margin: 0 auto;
  padding: 0 20px;
}

.privacy-title {
  /* To get the textured look, use a font like 'Bungee' or 'Roboto Black' */
  font-family: "League Spartan", sans-serif;
  font-weight: 900;
  font-size: 4rem;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
  text-transform: capitalize;
}

.privacy-intro {
  font-family: "Roboto", sans-serif;
  font-size: 22px;
  font-weight: 400;
  line-height: 1.6;
  opacity: 0.9; /* Softens the white text slightly */
  margin-bottom: 3rem;
  max-width: 704px;
  margin-left: auto;
  margin-right: auto;
}

/* Last Updated Row */
.last-updated {
  font-family: "Roboto", sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 22px;
  font-weight: 500;
}

.last-updated svg {
  color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .privacy-hero {
    padding: 5rem 0;
  }

  .privacy-title {
    font-size: 2.5rem;
  }

  .privacy-intro {
    font-size: 1rem;
  }
}
/*=============================
Terms Content Section*/
/* --- Terms Page Styling --- */
.terms-content {
  padding: 4rem 0;
  line-height: 1.6;
  color: #444; /* Standard dark grey for long-form text */
}

.terms-section {
  max-width: 900px;
  margin: 0 auto;
}

.section-number {
  color: #0d3b66; /* TradePro brand blue */
  font-size: 1.8rem;
  margin-bottom: 2rem;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 0.5rem;
}

.terms-sub-section {
  margin-bottom: 2.5rem;
}

.terms-sub-section h3 {
  color: #333;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.terms-sub-section p {
  margin-bottom: 1.2rem;
  font-size: 1rem;
  line-height: 40px;
}

/* Legal List Formatting */
.legal-list {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-list li {
  margin-bottom: 0.8rem;
  padding-left: 0.5rem;
}

.legal-list li::marker {
  font-weight: 700;
  color: #0d3b66;
}

.privacy-ack {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 0;
  border-radius: 8px;
  margin-top: 4rem;
  max-width: 900px;
  margin: 0 auto;
}

/* The custom checkbox input */
.ack-checkbox {
  appearance: none; /* Removes default browser styling */
  -webkit-appearance: none;
  width: 45px;
  height: 45px;
  border: 1.5px solid #333;
  border-radius: 8px;
  background-color: transparent;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-color 0.2s;
}

/* The checkmark (appears when checked) */
.ack-checkbox:checked::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 22px;
  border: solid #333;
  border-width: 0 3px 3px 0; /* Creates the "L" shape */
  transform: rotate(45deg); /* Rotates the "L" into a checkmark */
  margin-bottom: 5px; /* Adjusts vertical centering within the box */
}

/* Visual feedback on hover */
.ack-checkbox:hover {
  background-color: #f0f0f0;
}

.ack-text {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #333;
  cursor: pointer; /* Makes text feel clickable */
  /* padding-top: 8px; */
}
/* Mobile Adjustments */
@media (max-width: 768px) {
  .terms-content {
    padding: 2rem 1rem;
  }
  .section-number {
    font-size: 1.5rem;
  }
}
/*----------------------------
-*/
/*=============================
* Privacy Content Section
=============================*/
.privacy-content {
  font-family: "Roboto", sans-serif;
  background-color: #F5F5F5;
  padding: 5rem 0; /* Vertical breathing room */
  color: #333333;
}

.content-wrapper {
  max-width: 900px; /* Optimal reading width for long text */
  margin: 0 auto;
  padding: 0 0px;
}

.privacy-section {
  margin-bottom: 3rem; /* Spacing between numbered sections */
}

.section-title {
  font-family: "Roboto", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #222;
  margin-bottom: 1.5rem;
}

.section-intro {
  font-family: "Roboto", sans-serif;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  line-height: 65px;
  font-size: 20px;
}

/* List Styling */
.privacy-list {
  list-style: none; /* We will use custom bullets for better control */
  padding-left: 0;
}

.privacy-list li {
  font-family: "Roboto", sans-serif;
  font-size: 1.05rem;
  line-height: 1.7;
  color: #444;
  margin-bottom: 1.2rem;
  position: relative;
  padding-left: 1.5rem; /* Space for the bullet */
}

/* Custom Bullet Point (Matches the dot style in your image) */
.privacy-list li::before {
  content: "•";
  color: #333;
  font-weight: bold;
  position: absolute;
  left: 0;
  top: 0;
}

/* Bold text within list items */
.privacy-list li strong {
  color: #222;
  font-weight: 600;
}
.privacy-ack {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
  padding: 0;
  border-radius: 8px;
  margin-top: 4rem;
}

/* The custom checkbox input */
.ack-checkbox {
  appearance: none; /* Removes default browser styling */
  -webkit-appearance: none;
  width: 45px;
  height: 45px;
  border: 1.5px solid #333;
  border-radius: 8px;
  background-color: transparent;
  cursor: pointer;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-color 0.2s;
}

/* The checkmark (appears when checked) */
.ack-checkbox:checked::after {
  content: '';
  position: absolute;
  width: 12px;
  height: 22px;
  border: solid #333;
  border-width: 0 3px 3px 0; /* Creates the "L" shape */
  transform: rotate(45deg); /* Rotates the "L" into a checkmark */
  margin-bottom: 5px; /* Adjusts vertical centering within the box */
}

/* Visual feedback on hover */
.ack-checkbox:hover {
  background-color: #f0f0f0;
}

.ack-text {
  font-family: "Inter", sans-serif;
  font-size: 1.1rem;
  line-height: 1.5;
  color: #333;
  cursor: pointer; /* Makes text feel clickable */
  /* padding-top: 8px; */
}
/* Responsive */
@media (max-width: 768px) {
  .privacy-content {
    padding: 3rem 0;
  }

  .section-title {
    font-size: 1.5rem;
  }
}

  /*=============================
  *  Footer Section
  =============================*/
  /* --- Footer Styles --- */
.main-footer {
    background-color: #F5F5F5;
    padding-top: 5rem;
    border-top: 1px solid #eee; /* Subtle separator */
    box-shadow: 1px 1px 5.2px rgba(0, 0, 0, 0.25);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 2fr; /* Matches your design layout */
  gap: 6rem;
  padding-bottom: 2rem;

  /* Centering Logic */
  max-width: 1200px;      /* Adjust this to match your site's content width */
  margin: 0 auto;         /* Perfectly centers the grid horizontally */
  padding-left: 0px;     /* Adds a safety gutter for mobile */
  padding-right: 0px;

  /* Optional: Vertically aligns columns if they have different heights */
  align-items: start;
}
.footer-logo {
  height: 106px;
  width: 145px;
  /* margin-bottom: .5rem; */
}

.footer-desc {
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
  margin-bottom: 2rem;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links img {
  width: 32px;
  transition: opacity 0.3s;
}

.social-links img:hover {
  opacity: 0.7;
}

/* Links Column */
.footer-links{
margin-top: 3rem !important;
}
.footer-links h3,
.footer-app h3 {
  font-family: "Roboto", sans-serif;
  color: #0d3b66;
  font-size: 1.4rem;
  margin-bottom: 1rem;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 1rem;
}

.footer-links a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: #0d3b66;
}

/* App Column */
.footer-app {
  position: relative;
}

.app-text-phone {
  display: grid;
  grid-template-columns: 0.5fr 1fr;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.2rem;
  margin-top: 3rem !important;
}

.footer-phone-mockup {
  width: 140px;
  margin-top: 10px; /* Pulls the phone up slightly like the design */
  /* margin-left: -600px !important;   */
}

.app-badges {
  display: flex;
  gap: 15px;
  margin-top: 0rem;
  /* margin-right: -10% !important; */
  align-items: center;
  justify-content: center;
}

.app-badges img {
  height: 77px;
}

/* Copyright Bar */
.footer-bottom {
  background-color: #0d3b66; /* Your brand blue */
  color: #ffffff;
  text-align: center;
  padding: 1.5rem 0;
}

.footer-bottom p {
  font-family: "inter", sans-serif;
  margin: 0;
  font-size: 1.1rem;
  letter-spacing: 0.5px;
}

/* Responsive */
@media (max-width: 992px) {
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 10px;
  }

  .social-links, .app-badges {
    justify-content: center;
  }

  .footer-phone-mockup {
    /* display: none; Hide phone on mobile to save space */
  }
  .footer-desc{
        margin: 0 15px;
  }
}
/* This targets tablets and mobile phones */
@media (max-width: 992px) {
  .app-badges {
    /* Reset the margins used for desktop alignment */
    margin-right: 0 !important;
    margin-left: 0 !important;
    margin-top: 2rem; /* Adds space between the text/phone and the buttons */

    /* Ensure it spans the width of the column to allow centering */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }

  /* Optional: Stack buttons vertically on very small screens (phones) */
  @media (max-width: 480px) {
    .app-badges {
      flex-direction: column;
      gap: 10px;
      margin-top: 0 !important;
    }
  }
}
@media (max-width: 992px) {
  .app-text-phone {
  display: flex;
    /* Change from horizontal to vertical */
    flex-direction: column;

    /* Center the flex items (text and phone) */
    align-items: center;

    /* Center the text itself */
    text-align: center;

    /* Give them some breathing room when stacked */
    gap: 2rem;

    /* Ensure the container takes full width to allow centering */
    width: 100%;
  }

  /* Reset the phone mockup margins for mobile */
  .footer-phone-mockup {
    margin-top: 0;
    margin-right: 0;
    width: 120px; /* Optional: scale the phone down slightly for mobile */
  }
}
/*=============================
  * End of Footer Section
