/* =============================================================================
   TIQS Website — global tokens, shared utilities, then page sections top-to-bottom.
   ============================================================================= */

/* -----------------------------------------------------------------------------
   Design tokens
   ----------------------------------------------------------------------------- */
:root {
  --bg: #f6f6f6;
  --text-dark: #333333;
  --text-muted: #747474;
  --accent: #872d6f;
  --accent-soft: #d4a7d8;
  --white: #ffffff;
  --hero-gradient: linear-gradient(130deg, #3f1646 0%, #512853 100%);
  --footer-gradient: linear-gradient(174deg, #242130 34%, #351235 105%);
  --btn-gradient: linear-gradient(87deg, #b45186 5%, #b34ec7 92%);
  --strip: #611570;
  --radius: 20px;
}

/* -----------------------------------------------------------------------------
   Base / reset
   ----------------------------------------------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", "Arial", sans-serif;
  color: var(--text-dark);
  background: var(--bg);
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

/* Screen-reader-only headings — no layout change */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* -----------------------------------------------------------------------------
   Shared: section chrome & headings
   ----------------------------------------------------------------------------- */
.section {
  padding: 80px 0;
}

.section-line {
  width: 70px;
  height: 2px;
  background: #9c88a4;
  border-radius: 2px;
  margin-top: 32px;
}

.section-head {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-head h2 {
  font-size: 48px;
  margin: 0 0 16px;
}

.section-head p {
  margin: 0;
  color: #f3d3f0;
  font-size: 20px;
}

.section-head.dark p {
  color: var(--text-muted);
}

.center {
  text-align: center;
  margin-top: 2rem;
}

.pagination-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
}

/* -----------------------------------------------------------------------------
   Shared: buttons & CTAs
   ----------------------------------------------------------------------------- */
.btn {
  border-radius: 999px;
  padding: 18.25px 16px;
  text-decoration: none;
  font-weight: 700;
  display: inline-block;
}

.btn-light {
  background: var(--white);
  color: var(--text-dark);
}

.btn-nav {
  height: 36px;
  padding: 0 16px;
  border-radius: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.btn-gradient {
  background: linear-gradient(87deg, #b45186 5%, #b34ec7 92%);
  color: var(--white);
}

/* -----------------------------------------------------------------------------
   Header & navigation
   ----------------------------------------------------------------------------- */
header {
  margin-bottom: -96px;
  background-color: rgb(255 255 255 / 0);
  position: sticky;
  top: 0;
  z-index: 9;
  transition: background-color 220ms ease;
}

header.header-white {
  background-color: rgb(255 255 255 / 1);
  box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.12);
}

header.header-white .brand-light {
  display: none;
}

header.header-white .brand-dark {
  display: block;
}

header.header-white .nav-links a {
  color: #000000;
}

header.header-white .login,
.menu-container-left .login {
  color: #000000;
}

header.header-white .btn-nav,
.menu-container-left .btn-nav {
  background: var(--btn-gradient);
  color: #ffffff;
}

header.header-white .menu-icon-light {
  display: none;
}

header.header-white .menu-icon-dark {
  display: block;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 30px 0;
}

.brand {
  width: 126px;
  height: 30px;
}

.brand-dark {
  display: none;
}

.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 32px;
  margin: 0;
  padding: 0;
  flex: 1 0 0;
  justify-content: flex-end;
}

.nav-links a,
.menu-nav-links a {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  line-height: normal;
  white-space: nowrap;
}

.auth {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 32px;
  flex-shrink: 0;
}

.login {
  color: var(--white);
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  white-space: nowrap;
}

.menu-toggle,
.menu-close {
  display: none;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  flex-shrink: 0;
}

.menu-toggle img,
.menu-close img {
  width: 100%;
  height: 100%;
}

.menu-icon-dark {
  display: none;
}

.menu-container-left {
  display: none;
}

/* -----------------------------------------------------------------------------
   Hero
   ----------------------------------------------------------------------------- */
.hero-main {
  color: var(--white);
  background: var(--hero-gradient);
}

.hero-bgCont {
  background-image: url(../images/herobg.jpg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-top: 96px;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 52px 0;
}

.brandLineTextWrap {
  display: flex;
  gap: 20px;
  width: 100%;
  align-items: center;
  justify-content: center;
}

.brandLineTextLine {
  height: 3px;
  background: linear-gradient(90deg, #703f73 0%, rgba(255, 255, 255, 0.5) 100%);
  flex: 1;
  max-width: 82px;
  border-radius: 3px;
}

.brandLineTextLine.right {
  transform: rotate(180deg);
}

.brandLineText {
  color: #f3d3f0;
  margin: 0;
  text-align: center;
  font-size: 38px;
  font-weight: 600;
  letter-spacing: 3.04px;
  text-transform: uppercase;
}

.brandLineImg {
  width: min(490px, 100%);
}

.metrics {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-top: 20px;
  gap: 40px;
}

.metrics img {
  width: 120px;
  height: auto;
}

.hero-copy {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.hero h1 {
  margin: 0.4rem 0 1rem;
  font-size: clamp(2.2rem, 6vw, 4.5rem);
  font-weight: 800;
}

.hero-image-wrap {
  display: flex;
  justify-content: center;
}

.hero-image {
  width: min(604px, 100%);
  background-image: url(../images/circleImage.png);
  background-size: 110% auto;
  background-position: center;
  background-repeat: no-repeat;
}

/* -----------------------------------------------------------------------------
   Download strip (hero footer)
   ----------------------------------------------------------------------------- */
.download-strip {
  background: var(--strip);
  padding: 40px 0;
}

.download-inner {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
}

.download-text {
  flex: 1;
}

.download-inner .title,
.download-inner p {
  margin: 0;
  color: var(--accent-soft);
  font-size: 18px;
  font-weight: 500;
}

.download-inner .title {
  color: #f7e1f8;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 4px;
}

.store-buttons {
  display: flex;
  gap: 20px;
}

.store-buttons img {
  width: 173px;
  height: auto;
}

/* -----------------------------------------------------------------------------
   Zero brokerage (carousel)
   ----------------------------------------------------------------------------- */
.zero-brokerage {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 64px;
}

.zero-brokerage-main{
  background-image: url(../images/zeroBrokerageBg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left;
}

.zero-brokerage.zero-brokerage-carousel {
  --zero-slide-count: 4;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.zero-dual-slides {
  display: grid;
  grid-template-columns: 2fr 1fr;
  align-items: center;
  gap: 64px;
  width: 100%;
}

.zero-copy-column,
.zero-image-column {
  min-width: 0;
}

.zero-carousel-viewport {
  overflow: hidden;
  width: 100%;
}

.zero-carousel-track {
  display: flex;
  width: calc(100% * var(--zero-slide-count, 4));
  transition: transform 0.5s ease;
  will-change: transform;
}

.zero-copy-track > .zero-copy,
.zero-image-track > .zero-image-wrap {
  flex: 0 0 calc(100% / var(--zero-slide-count, 4));
  width: calc(100% / var(--zero-slide-count, 4));
  min-width: 0;
}

.zero-carousel-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 12px 0 0;
  gap: 12px;
}

.zero-carousel-nav .pagination {
  margin: 0;
  list-style: none;
  display: flex;
  gap: 4px;
  padding: 0;
}

.zero-carousel-nav .pagination li {
  display: flex;
  align-items: center;
}

.zero-carousel-nav .pagination li button {
  display: block;
  width: 6px;
  height: 6px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background-color: #d6c6e1;
  cursor: pointer;
  transition:
    width 0.25s ease,
    background-color 0.25s ease;
}

.zero-carousel-nav .pagination li.active button {
  width: 18px;
  background-color: #bf90c8;
}

.zero-copy .section-line {
  background: #dddddd;
}

.zero-copy h2 {
  margin: 0;
  font-size: 78px;
}

.zero-copy h2 span {
  color: var(--accent);
}

.zero-copy p {
  margin: 16px 0 0;
  color: var(--text-muted);
  font-size: 28px;
}

.zero-image-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.zero-image-cont {
  width: min(335px, 100%);
}

.zero-image-wrap .pagination {
  margin: 0;
  list-style-type: none;
  display: flex;
  gap: 4px;
  padding: 0;
}

.zero-image-wrap .pagination li {
  width: 6px;
  height: 6px;
  background-color: #d6c6e1;
  border-radius: 3px;
}

.zero-image-wrap .pagination li.active {
  background-color: #bf90c8;
  width: 18px;
}

.zero-image-shadow {
  width: 100%;
  height: auto;
  margin-top: -25px;
  position: relative;
  z-index: -1;
  display: none;
}

/* -----------------------------------------------------------------------------
   Pricing
   ----------------------------------------------------------------------------- */
.pricing {
  background: var(--hero-gradient);
  color: var(--white);
}

.pricing .btn {
  min-width: 256px;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin: 64px 0;
}

.card {
  background: var(--white);
  color: var(--text-dark);
  border: 1px solid #eeeeee;
  border-radius: var(--radius);
  padding: 32px 20px 48px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 262px;
}

.card.highlight {
  background: linear-gradient(57deg, #f4ecff 5.53%, #fef2ff 89.06%);
  border-color: var(--accent);
}

.card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 16px;
  font-weight: 500;
}

.card p.offer {
  color: var(--accent);
  font-weight: 700;
  margin: 24px 0 0;
}

.card .title {
  color: var(--text-dark);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.card h3.title {
  margin-top: 0;
}

.card img {
  width: 64px;
  height: 64px;
  background-color: #ffedfa;
  padding: 12px;
  border-radius: 50%;
  margin-bottom: 24px;
}

.card.highlight img {
  background-color: var(--accent);
}

/* -----------------------------------------------------------------------------
   FAQ
   ----------------------------------------------------------------------------- */
.faq-list {
  display: flex;
  flex-direction: column;
  margin: 64px 0 0;
  gap: 24px;
}

.faq-list details {
  background: var(--white);
  border-radius: var(--radius);
  padding: 0 32px;
  border: 1px solid transparent;
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);
}

.faq-list details[open] {
  border-color: var(--accent);
  background: #fefaff;
}

.faq-list details[open] summary {
  color: var(--accent);
}

.faq-list summary {
  cursor: pointer;
  font-size: 20px;
  font-weight: 500;
  list-style: none;
  display: flex;
  padding: 24px 0;
}

.faq-list summary span {
  flex: 1 0 0;
}

.faq-list summary img {
  width: 24px;
  height: 24px;
  transform: rotate(180deg);
  transition: transform 0.2s ease-in-out;
}

.faq-list details[open] summary img {
  transform: rotate(0deg);
}

.faq-list p {
  font-size: 16px;
  line-height: 28px;
  color: var(--text-muted);
  margin: 0 0 24px;
}

/* -----------------------------------------------------------------------------
   Footer
   ----------------------------------------------------------------------------- */
.site-footer {
  background: var(--footer-gradient);
  color: var(--accent-soft);
  padding: 60px 0;
}

.footer-grid {
  display: grid;
  font-size: 16px;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 40px;
}

.footer-grid div:first-child p {
  line-height: 24px;
}

.footer-grid-middle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  display: none;
}

.footer-grid p,
.footer-grid ul li {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
}

.footer-grid ul li + li {
  margin-top: 20px;
}

.footer-grid ul li img {
  width: 16px;
  height: 16px;
}

.footer-grid .tiqs-logo {
  width: 92px;
  height: 22px;
  margin: 0 0 20px;
}

.site-footer h2.footer-nav-heading {
  color: var(--white);
  font-size: 18px;
  font-weight: 500;
  margin: 0 0 20px;
}

.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: disc;
  display: grid;
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #5e4262;
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  gap: 40px;
}

.footer-bottom p {
  margin: 0;
  flex: 1;
}

.footer-bottom p span:nth-child(1) {
  display: inline;
}

.footer-bottom p span:nth-child(2) {
  display: none;
}

.footer-social-links {
  display: flex;
  gap: 12px;
  margin: 16px 0 0;
}

.footer-social-links img {
  width: 40px;
  height: 40px;
}

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a,
.footer-grid a {
  color: var(--accent-soft);
  text-decoration: none;
}

.footer-disclosure {
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #5e4262;
  color: #977e99;
  font-size: 14px;
  line-height: 20px;
}

.footer-disclosure .title {
  margin: 0 0 16px;
  color: #977e99;
  font-size: 14px;
  font-weight: 700;
}

.footer-disclosure p,
.footer-disclosure ul,
.footer-disclosure ol {
  margin: 0 0 16px;
}

.footer-disclosure ul,
.footer-disclosure ol {
  padding-left: 20px;
}

.footer-disclosure li {
  margin-bottom: 8px;
}

.footer-disclosure-highlight {
  color: var(--accent-soft);
  font-weight: 500;
  text-decoration: none;
}

.footer-disclosure-copy {
  margin-bottom: 0;
  font-weight: 500;
}

/* -----------------------------------------------------------------------------
   Common Page Layout
   ----------------------------------------------------------------------------- */
.page-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted);
}

.page-breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
}

.page-breadcrumb a:hover {
  text-decoration: underline;
}

.page-breadcrumb-sep {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 12px;
  height: 12px;
  flex-shrink: 0;
}

.page-breadcrumb-sep img {
  width: 12px;
  height: 12px;
}

.page-breadcrumb-current {
  color: #747474;
}

.page-title {
  margin: 0 auto;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-dark);
  display: block;
}

/* =============================================================================
   Responsive — max-width: 960px
   ============================================================================= */
@media (max-width: 960px) {
  /* --- Header & navigation --- */

  .nav-links {
    display: none;
  }

  .brand {
    width: 101px;
    height: 24px;
  }

  .navbar {
    justify-content: space-between;
    padding: 24px 0;
  }

  .auth {
    gap: 12px;
    display: none;
  }

  .menu-toggle,
  .menu-close {
    display: block;
  }

  /* --- Mobile drawer menu --- */
  .menu-container-left {
    display: flex;
    flex-direction: column;
    background-color: var(--white);
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100%;
    z-index: 9;
    transition: left 280ms ease;
  }

  .menu-container-left.is-open {
    left: 0;
  }

  .menu-container-left .brand-dark,
  .menu-container-left .menu-icon-dark {
    display: block;
  }

  .menu-container-left .auth {
    display: flex;
    flex-direction: row;
    gap: 16px;
    padding: 24px 0;
  }

  .menu-container-left .auth a {
    flex: 1 0 0;
    text-align: center;
  }

  .menu-content {
    flex: 1 0 0;
    overflow-y: auto;
  }

  .menu-nav-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
  }

  .menu-nav-links a {
    color: var(--text-dark);
    width: 100%;
    display: block;
  }

  .menu-nav-links li {
    padding: 24px 0;
  }

  .menu-nav-links li + li {
    border-top: 1px solid #e9e9eb;
  }

  body.no-scroll {
    overflow: hidden;
  }

  /* --- Hero --- */
  .brandLineText {
    font-size: 20px;
  }

  .brandLineTextWrap {
    gap: 10px;
  }

  .brandLineTextLine {
    max-width: 40px;
    height: 1px;
  }

  .metrics {
    gap: 32px;
    margin-top: 8px;
  }

  .metrics img {
    width: 98px;
  }

  .hero,
  .zero-brokerage {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero-bgCont {
    background-position: left;
  }

  .hero {
    padding: 40px 0;
    gap: 40px;
  }

  .hero-copy,
  .zero-copy {
    order: 1;
  }

  .hero-copy {
    gap: 10px;
  }

  .brandLineImg {
    width: min(254px, 100%);
  }

  .hero-image {
    background-size: 110% auto;
  }
  

  .hero-image-wrap,
  .zero-image-wrap {
    order: 2;
  }

  /* --- Download strip --- */
  .download-strip {
    padding: 24px 0;
  }

  .download-inner .title {
    display: none;
  }

  .download-inner {
    flex-direction: column;
    text-align: center;
  }

  /* --- Shared section spacing & headings --- */
  .section {
    padding: 32px 0;
  }

  .section-head h2 {
    font-size: 24px;
    margin: 0 0 8px;
  }

  .section-head p {
    font-size: 16px;
  }

  .section-line {
    margin-top: 24px;
  }

  /* --- Pricing --- */
  .card {
    flex-direction: row;
    gap: 24px;
    padding: 32px 20px;
    min-height: auto;
  }

  .card p {
    text-align: left;
  }

  .card p.offer {
    font-size: 18px;
    margin: 12px 0 0;
  }

  .card img {
    margin-bottom: 0;
  }

  .card div {
    flex: 1;
  }

  .pricing-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin: 32px 0;
  }

  .card h3.title{
    text-align: left;
  }

  /* --- Zero brokerage --- */
  .zero-brokerage-main{
    background-position: left 15% top 0%;
  }
  .zero-brokerage {
    gap: 32px;
  }

  .zero-dual-slides {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }

  .zero-carousel-nav {
    align-items: center;
  }

  .zero-copy h2 {
    font-size: 32px;
  }

  .zero-copy p {
    margin: 12px 0 0;
    font-size: 20px;
  }

  .zero-copy .section-line {
    margin: 24px auto 0;
  }

  /* --- FAQ --- */
  .faq-list details {
    padding: 0 16px;
    border-radius: 12px;
  }

  .faq-list {
    margin: 24px 0 0;
    gap: 12px;
  }

  .faq-list summary {
    padding: 20px 0;
    font-size: 16px;
  }

  .faq-list summary img {
    width: 16px;
    height: 16px;
  }

  .faq-list p {
    margin: -4px 0 20px;
    font-size: 14px;
    line-height: 24px;
  }

  /* --- Footer --- */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    margin-top: 28px;
    padding-top: 28px;
  }

  .footer-bottom p {
    line-height: 22px;
  }

  .footer-bottom p span:nth-child(1) {
    display: none;
  }

  .footer-bottom p span:nth-child(2) {
    display: inline;
  }

  .site-footer {
    padding: 40px 0;
  }

  .footer-disclosure {
    margin-top: 28px;
    padding-top: 28px;
    font-size: 13px;
    line-height: 19px;
  }

  /* --- Common Page --- */

  .page-title {
    font-size: 28px;
  }
}

/* =============================================================================
   Responsive — max-width: 620px
   ============================================================================= */
@media (max-width: 620px) {
  .pricing-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }
}
