/**
 * ================================================================================
 * FORGEX NETWORK - MAIN STYLESHEET
 * ================================================================================
 * Organized by sections for max maintainability & scalability
 * Follows BEM-like methodology with clear component separation
 * Desktop-first responsive approach
 * ================================================================================
 */

/* =========================================================================
   SECTION 1: HEADER / NAVIGATION STYLES
   ========================================================================= */

#header {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 32px 100px;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo Component */
.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-a {
  text-decoration: none;
}

.logo-icon {
  position: relative;
  width: 30px;
  height: 30px;
}

.logo-bg {
  position: absolute;
  top: 0;
  left: 0;
}

.logo-fg {
  position: absolute;
  top: 8.7px;
  left: 6.6px;
}

.logo-text {
  font-weight: 600;
  font-size: var(--fs-24);
  color: var(--text-light);
}

/* Main Navigation */
.main-nav {
  display: flex;
  align-items: center;
  gap: var(--gap-xl);
}

.nav-links {
  display: flex;
  gap: var(--gap-lg);
}

.nav-item {
  color: var(--text-light);
  text-decoration: none;
  font-size: var(--fs-14);
  transition: 0.5s;
}

.nav-item:hover {
  color: #a6adbb;
}

/* Social Links */
.social-links {
  display: flex;
  gap: var(--gap-sm);
}

.social-btn {
  transition: 0.5s;
  position: relative;
  width: 28px;
  height: 28px;
  background-color: rgba(36, 36, 37, 0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 0px 20px 0px rgba(255, 255, 255, 0.1);
}

/* Frost Effect for Social Buttons - using global .frost-effect-sm utility */

.social-btn:hover {
  background-color: rgba(36, 36, 37, 0.2);
}

#menu {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: #0A0D14;
    z-index: 999;
    padding: 32px 20px;
    transform: translateX(100%);
    transition: transform 0.5s linear;
}

#menu.open {
    transform: translateX(0);
    transition: transform 0.5s linear;
}

#menu .menu-container {
    display:flex;
    flex-direction: column;
}

#menu .menu-container .menu-item {
    position: relative;
    text-decoration: none;
    color: #E6EAF0;
    font-size: 18px;
    font-weight: 200;
    padding-bottom: 18px;
    padding-top:16px;
    border-bottom: 1px solid #3D3D3D99;
}

#menu .menu-container .menu-item:after {
    content: "";
    background: url(../images/arrow-right.svg);
    width: 24px;
    height: 15px;
    position: absolute;
    right: 0;
    top: 21px;
    transform: scale(1.5);
    background-repeat: no-repeat;
}

#nav-icon-menu {
    display:none;
    width: 18px;
    height: 12px;
    position: relative;
    transform: rotate(0deg);
    transition: .5s ease-in-out;
    cursor: pointer;

}
#nav-icon-menu span {
    display: block;
    position: absolute;
    height: 1.5px;
    width: 100%;
    background: #E6EAF0;
    border-radius: 55px;
    opacity: 1;
    left: 0;
    transform: rotate(0deg);
    transition: .25s ease-in-out;
}
#nav-icon-menu span:nth-child(1) {
    top: 0px;
}
#nav-icon-menu span:nth-child(2) {
    top: 5px;
}
#nav-icon-menu span:nth-child(3) {
    top: 10px;
}
#nav-icon-menu.open span:nth-child(1) {
    top: 5px;
    transform: rotate(135deg);
}
#nav-icon-menu.open span:nth-child(2) {
    opacity: 0;
    left: -60px;
}
#nav-icon-menu.open span:nth-child(3) {
    top: 5px;
    transform: rotate(-135deg);
}

/* Header Media Query */
@media (max-width: 1024px) {
  #header {
    padding: 20px;
  }

  .logo-text {
    font-size: var(--fs-18);
  }

  .nav-links {
    display: none;
  }

  #nav-icon-menu {
    display: block;
  }
}

/* =========================================================================
   SECTION 2: HERO SECTION STYLES
   ========================================================================= */

#hero {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  width: 100%;
  max-width: 1240px;
  border-bottom: 1px solid rgba(61, 61, 61, 0.6);
}

/* Hero Text Content */
.hero-text {
  text-align: center;
  max-width: 1241px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  padding: 0 20px;
}

.hero-text h1 {
  font-size: var(--fs-64);
  line-height: 1.1;
  font-weight: 700;
  color: var(--text-light);
}

.hero-text span {
  font-size: var(--fs-64);
  line-height: 1.1;
  font-weight: 200;
  color: var(--text-light);
}

.hero-text p {
  font-size: var(--fs-20);
  line-height: 1.5;
  color: var(--text-grey);
  max-width: 1180px;
  font-weight: 300;
}

/* Hero Buttons */
.hero-buttons {
  display: flex;
  gap: var(--gap-md);
  margin-top: var(--gap-md);
}

/* Hero Visual Section */
.hero-visual {
  width: 100%;
  height: 500px;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.hero-visual::before {
  content: "";
  background: linear-gradient(180deg, rgba(10, 13, 20, 0) 0%, rgba(255, 192, 0, 0.1) 50%, rgba(10, 13, 20, 0) 100%);
  width: 100%;
  height: 498px;
  position: absolute;
  left: 0;
}

/* Phone Mockups Container */
.phones-container {
  display: flex;
  margin-top: 40px;
}

.phone-wrapper {
  position: relative;
  width: 400px;
  height: 590px;
  border-radius: 48px;
  overflow: hidden;
}

.phone-screen {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.phone-1 {
  bottom: -6px;
}

.phone-2 {
  position: relative;
  bottom: -77px;
  transform: scale(1.1);
  z-index: 999;
}

.phone-3 {
  bottom: -6px;
}

.dynamic-island {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 35px;
  background: #000;
  border-radius: 20px;
  z-index: 10;
}

/* Hero Media Query */
@media (max-width: 768px) {
  .hero-text h1 {
    font-size: 40px;
  }

  .hero-text p {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .phones-container {
    transform: scale(0.6);
    margin-top: -100px;
  }
}

/* =========================================================================
   SECTION 3: INFRASTRUCTURE SECTION STYLES
   ========================================================================= */

#infrastructure {
  padding: var(--section-padding-desktop);
  max-width: 1440px;
  margin: 0 auto;
}

.infra-container {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
}

/* Section Header - using global utility class */

/* Cards Grid */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--gap-lg);
}
@media (max-width: 768px) {
  .cards-grid {
    display: flex;
    overflow-x: auto;
    gap: var(--gap-md);
    scroll-snap-type: x mandatory;
    padding-bottom: var(--gap-md);
  }
  .feature-card {
    min-width: 78vw;
    max-width: 78vw;
    scroll-snap-align: start;
    flex-shrink: 0;
    margin-right: 8px;
  }

  /* Disable slider for #community */
  #community .cards-grid {
    display: grid;
    overflow-x: unset;
    gap: 24px;
    scroll-snap-type: none;
    padding-bottom: 0;
  }
  #community .feature-card {
    min-width: unset;
    max-width: unset;
    scroll-snap-align: unset;
    flex-shrink: unset;
    margin-right: 0;
  }
}

/* Feature Card Component */
.feature-card {
  transition: 0.5s;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
  padding: var(--gap-md);
  background: rgba(36, 36, 37, 0.6);
  border-radius: 16px;
}

/* Frost Effect for Cards - using global .frost-effect-lg utility */

.feature-card:hover {
  background-color: rgba(36, 36, 37, 0.2);
}

/* Card Icon */
.card-icon {
  width: 40px;
  height: 40px;
  background: rgba(61, 61, 61, 0.6);
  border-radius: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-card h3 {
  font-size: var(--fs-24);
  color: var(--text-light);
}

.feature-card p {
  font-size: var(--fs-19);
  color: var(--text-grey);
  line-height: 1.5;
}

/* Infrastructure Footer Link */
.infra-footer {
  display: flex;
  justify-content: flex-end;
}

.text-link {
  font-size: var(--fs-20);
  transition: 0.5s;
  display: flex;
  align-items: center;
  gap: var(--gap-xs);
  color: var(--text-light);
  text-decoration: none;
  font-weight: 500;
}

.text-link:hover {
  color: #a6adbb;
}

/* Infrastructure Media Query */
@media (max-width: 1024px) {
  #infrastructure {
    padding: 40px 20px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   SECTION 4: ACCOUNTING SECTION STYLES
   ========================================================================= */

#accounting {
  padding: var(--section-padding-desktop);
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

/* Background Gradient Effect */
#accounting::before {
  content: "";
  position: absolute;
  width: 66%;
  left: 0;
  top: 146px;
  height: 300px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 195, 0, 0.12) 0%, rgba(255, 195, 0, 0) 100%);
  backdrop-filter: blur(20px);
}

.accounting-container {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.accounting-left {
  flex: 1;
  position: relative;
}

.accounting-left h2 {
  font-size: var(--fs-40);
  margin-bottom: var(--gap-md);
  color: var(--text-light);
}

.accounting-left p {
  font-size: var(--fs-18);
  color: var(--text-grey);
  line-height: 1.5;
}

.accounting-right {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Accounting Item (List) */
.accounting-item {
  transition: 0.5s;
  background-color: transparent;
  border-top: 1px solid #80808026;
  border-radius: 0;
  border-left: 0;
  border-right: 0;
  padding: var(--gap-md) 0;
}

.accounting-item:hover {
  border-color: #808080a8 !important;
}

.accounting-item h3 {
  font-size: var(--fs-18);
  color: var(--text-light);
  margin-bottom: var(--gap-xs);
}

.accounting-item p {
  font-size: var(--fs-16);
  color: var(--text-grey);
  line-height: 1.5;
}

/* Accounting Media Query */
@media (max-width: 768px) {
  #accounting {
    padding: 40px 20px;
  }

  .accounting-container {
    flex-direction: column;
  }
}

/* =========================================================================
   SECTION 5: CIRCULATION SECTION STYLES
   ========================================================================= */

#circulation {
  padding: var(--section-padding-desktop);
  max-width: 1440px;
  margin: 0 auto;
}

.circulation-container {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
}

/* Circulation Header */
.circ-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.circ-header h2 {
  font-size: var(--fs-40);
  margin-bottom: var(--gap-md);
  color: var(--text-light);
}

.circ-header p {
  max-width: 724px;
  text-align: center;
  font-size: var(--fs-18);
  color: var(--text-grey);
}

/* Circulation Content Layout */
.circ-content {
  display: flex;
  gap: var(--gap-lg);
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-lg);
  flex: 2;
}

.step-card {
  transition: 0.5s;
  position: relative;
  padding: var(--gap-md);
  display: flex;
  flex-direction: column;
  gap: var(--gap-xs);
  height: max-content;
}

/* Frost Effect for Step Cards - using global .frost-effect-lg utility */

.step-card:hover {
  background-color: rgba(36, 36, 37, 0.2);
}

.step-icon {
  width: 40px;
  height: 40px;
  background: rgba(61, 61, 61, 0.6);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--text-light);
}

.step-card h3 {
  font-size: var(--fs-24);
  color: var(--text-light);
}

.step-card p {
  font-size: var(--fs-19);
  color: var(--text-grey);
  line-height: 1.5;
}

/* Circulation Visual */
.circ-visual {
  transition: 0.5s;
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0;
}

/* Frost Effect for Visual - using global .frost-effect-lg utility */

.circ-visual:hover {
  background-color: rgba(36, 36, 37, 0.2);
}

.phone-mockup-small img {
  transform: translate(10px, 10px);
  width: 100%;
  height: auto;
  border-radius: 16px;
}

/* Circulation Media Query */
@media (max-width: 1024px) {
  #circulation {
    padding: 40px 20px;
  }

  .circ-content {
    flex-direction: column;
  }

  .steps-grid {
    grid-template-columns: 1fr;
  }
}

/* =========================================================================
   SECTION 6: DEVNET SECTION STYLES
   ========================================================================= */

#devnet {
  padding: var(--section-padding-desktop);
  max-width: 1440px;
  margin: 0 auto;
}

.devnet-container {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
}

.devnet-footer {
  text-align: center;
  color: var(--text-grey);
  font-size: 16px;
  margin-top: -24px;
}

/* Devnet Media Query */
@media (max-width: 1024px) {
  #devnet {
    padding: 40px 20px;
  }
}

/* =========================================================================
   SECTION 7: VALIDATION SECTION STYLES
   ========================================================================= */

#validation {
  padding: var(--section-padding-desktop);
  max-width: 1440px;
  margin: 0 auto;
  position: relative;
}

/* Background Gradient Effect */
#validation::before {
  content: "";
  position: absolute;
  width: 50%;
  left: 0;
  top: 146px;
  height: 300px;
  background: radial-gradient(50% 50% at 50% 50%, rgba(255, 195, 0, 0.12) 0%, rgba(255, 195, 0, 0) 100%);
  backdrop-filter: blur(20px);
  z-index: -1;
}

.validation-container {
  display: flex;
  gap: 60px;
  align-items: flex-start;
}

.validation-left {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.validation-left h2 {
  font-size: var(--fs-40);
  color: var(--text-light);
}

.validation-left p {
  font-size: var(--fs-18);
  color: var(--text-grey);
  line-height: 1.5;
}

.validation-actions {
  margin-top: 16px;
}

.validation-actions .btn-primary {
  max-width: 200px;
}

.small-note {
  font-size: 14px !important;
  margin-top: 12px;
  opacity: 0.7;
}

/* Table Styles */
.validation-right {
  flex: 1.2;
}

.table-container {
  display: flex;
  flex-direction: column;
}

.table-row {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  transition: 0.5s;
}

.table-row:not(.header) {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.table-row.header {
  font-weight: 600;
  color: var(--text-light);
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.table-row.header > span {
  font-weight: 600;
  font-size: var(--fs-20);
}

.table-row:not(.header) > span {
  font-size: var(--fs-20);
}

.table-row:hover span {
  color: var(--text-light);
}

.table-row:hover {
  border-color: #a6adbb !important;
}

/* Table Columns */
.col-1 {
  width: 20%;
}

.col-2 {
  width: 35%;
}

.col-3 {
  width: 45%;
}

/* Validation Media Query */
@media (max-width: 1024px) {
  #validation {
    padding: 40px 20px;
  }

  .validation-container {
    flex-direction: column;
  }

  .validation-right {
    width: 100%;
  }
}

/* =========================================================================
   SECTION 8: ROADMAP SECTION STYLES
   ========================================================================= */

#roadmap {
  padding: var(--section-padding-desktop);
  max-width: 1440px;
  margin: 0 auto;
}

.roadmap-container {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
  align-items: center;
}

.roadmap-header {
  text-align: center;
  max-width: 700px;
}

.roadmap-header h2 {
  font-size: var(--fs-40);
  margin-bottom: var(--gap-md);
  color: var(--text-light);
}

.roadmap-header p {
  font-size: var(--fs-20);
  max-width: 608px;
  color: var(--text-grey);
}

/* Roadmap Stages Grid */
.roadmap-stages {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--gap-lg);
  width: 100%;
}

.roadmap-stages .stage-item:first-child {
  border-color: #eebe20;
}

.roadmap-stages .stage-item:first-child:hover {
  border-color: #ffcf31;
}

.roadmap-stages .stage-item:not(:first-child):hover {
  border-color: #a6adbb;
}

.roadmap-stages .stage-footer:hover {
  border-color: #a6adbb;
}

.stage-item {
  transition: 0.5s;
  padding-left: 16px;
  border-left: 1px solid rgba(61, 61, 61, 0.6);
}

.stage-item h3 {
  font-size: var(--fs-24);
  color: var(--text-light);
  margin-bottom: var(--gap-xs);
}

.stage-item p {
  font-size: var(--fs-20);
  color: var(--text-grey);
  line-height: 1.4;
}

.stage-footer {
  justify-content: center;
  transition: 0.5s;
  grid-column: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  padding-left: 16px;
  border-left: 1px solid rgba(61, 61, 61, 0.6);
}

.stage-footer p {
  font-size: 16px;
  color: #a6adbb;
}

/* Roadmap Media Query */
@media (max-width: 1024px) {
  #roadmap {
    padding: 40px 20px;
  }

  .roadmap-stages {
    grid-template-columns: 1fr;
  }

  .stage-footer {
    grid-column: span 1;
  }
}

/* =========================================================================
   SECTION 9: COMMUNITY SECTION STYLES
   ========================================================================= */

#community {
  padding: var(--section-padding-desktop);
  max-width: 1440px;
  margin: 0 auto;
}

.community-container {
  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
}

/* Community Cards Hover Effects */
#community .cards-grid .feature-card {
  transition: 0.5s;
}

#community .cards-grid > .feature-card:hover {
  background: linear-gradient(95.34deg, rgba(238, 190, 32, 0.85) 1.51%, rgba(255, 213, 78, 0.85) 50.67%, rgba(238, 190, 32, 0.85) 100%);
}

#community .cards-grid > .feature-card:hover p {
  color: #0a0d14;
}

#community .cards-grid > .feature-card:hover h3 {
  color: #0a0d14;
}

#community .cards-grid > .feature-card:hover .card-icon {
  background: #e6eaf0;
}

#community .cards-grid > .feature-card:hover .card-icon svg path {
  fill: #0a0d14;
}

#community .cards-grid > .feature-card:hover > svg path:first-child {
  fill: #e6eaf0;
}

#community .cards-grid > .feature-card:hover > svg path:last-child {
  stroke: #0a0d14;
}

#community .cards-grid > .feature-card:hover > svg path:nth-child(3) {
  stroke: #0a0d14;
}

/* Community Card Icon */
#community .feature-card > svg {
  position: absolute;
  right: 16px;
  top: 16px;
}

#community .feature-card > .card-icon {
  position: relative;
}

/* Community Card Icon Frost - using global .frost-effect-sm utility */

#community .feature-card > .card-icon:hover {
  background-color: rgba(36, 36, 37, 0.2);
}

/* Community Header */
.comm-header {
  text-align: center;
}

.comm-header h2 {
  font-size: var(--fs-40);
  margin-bottom: var(--gap-md);
  color: var(--text-light);
}

.comm-header p {
  font-size: var(--fs-20);
  color: var(--text-grey);
}

/* Community Media Query */
@media (max-width: 1024px) {
  #community {
    padding: 40px 20px;
  }
}

/* =========================================================================
   SECTION 10: FOOTER STYLES
   ========================================================================= */

#footer {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
  padding: 60px 100px 32px;
  border-top: 1px solid var(--border-color);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-col h4 {
  color: var(--text-light);
  font-size: 16px;
}

.footer-col a {
  transition:.5s;
  color: var(--text-footer);
  text-decoration: none;
  font-size: 14px;
}

.brand-col {
  gap: 24px;
}

/* Social Links Row */
.social-links-row {
  display: flex;
  gap: 12px;
}

/* Footer Bottom */
.footer-bottom {
  text-align: center;
  padding-top: 24px;
  border-top: 1px solid rgba(61, 61, 61, 0.3);
  color: var(--text-grey);
  font-size: 14px;
}

.footer-col a:hover {
    color:var(--text-grey);
}

/* Footer Media Query */
@media (max-width: 768px) {
  #footer {
    padding: 40px 20px;
  }

  .footer-content {
    flex-direction: column;
  }
}

/* Mobile */

@media (max-width:768px){
    #header {
        padding-top:56px;
    }

    #nav-icon-menu {
        display:block;
        top:8px;
    }

    #hero {
        padding:56px 0;
    }

    .hero-text h1 {
        font-size:34px;
    }

    .hero-text span {
        font-size:34px;
    }

    .hero-text p {
        font-size:14px;
    }

    .hero-buttons {
        flex-direction:row;
    }

    .hero-content {
        border-bottom:0;
    }

    .hero-visual {
        height:451px;
    }

    .hero-visual::before {
        display:none;
    }

    .phone-1 {
        position: absolute;
        right: -102px;
        width: 284px;
        bottom: -82px;
    }

    .phone-2 {
        transform: scale(0.9);
        height: max-content;
        bottom: auto;
        top: -56px;
    }

    .phone-3 {
        position: absolute;
        left: -116px;
        width: 284px;
        height: 680px;
        bottom: -165px;
    }

    #infrastructure {
        padding:18px 0px;
    }

    #infrastructure .section-header {
        padding:0 20px;
    }

    #infrastructure .infra-footer {
        padding:0 20px;
    }

    #infrastructure .cards-grid {
        margin-left:20px;
    }

    .card-icon {
        border-radius:10px;
    }

    .cards-grid h3 {
        font-size:18px;
        font-weight:600;
    }

    .cards-grid p {
        font-size:14px;
        font-weight:300;
    }

    .infra-footer a {
        font-size:14px;
    }

    .section-header h2 {
        font-size:24px;
        text-align:center;
    }

    .section-header span {
        font-size:24px;
    }

    .section-header p {
        font-size:14px;
    }

    .infra-container {
        gap:14px;
    }

    #accounting::before {
        top:91px;
        width:100%;
        height:355px;
    }

    #accounting .accounting-left h2 {
        font-size:24px;
        margin-bottom:6px;
    }

    #accounting .accounting-left span {
        font-size:24px;
    }

    #accounting .accounting-left p {
        font-size:13px;
        font-weight:300;
    }

    #accounting .accounting-container {
        gap:10px;
    }

    #accounting .accounting-item {
        padding:10px 0;
    }

    #accounting .accounting-item p {
        font-size:14px;
    }

    #circulation {
        padding:20px 20px;
    }

    #circulation .circ-header h2 {
        font-size:24px;
        text-align:center;
    }

    #circulation .circ-header span {
        font-size:24px;
    }
    
    #circulation .circ-header p {
        font-size:14px;
    }

    #circulation .circulation-container {
        gap:20px;
    }

    #circulation .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    #circulation .step-icon {
        width:32px;
        height:32px;
    }

    #circulation .step-icon span {
        font-size:16px;
    }

    #circulation .step-icon span {
        font-size:16px;
    }

    #circulation .steps-grid {
        gap:10px;
    }

    #circulation .step-card h3 {
        font-size:18px;
    }

    #circulation .step-card p {
        font-size:14px;
    }

    #circulation .step-card {
        min-height:221px;
    }

    #circulation .phone-mockup-small img {
        transform:translate(10px, -33px);
    }

    #circulation .phone-mockup-small {
        height:299px;
    }
    
    #devnet {
        padding:40px 0px;
    }

    #devnet .devnet-container {
        gap:15px;
    }

    #devnet .devnet-footer {
        font-size:12px;
        margin-top:-12px;
        padding:0 20px;
    }

    #devnet .card-icon {
        width:32px;
        height:32px;
    }

    #devnet .text-link {
        font-size:14px;
        position:absolute;
        bottom:16px;
    }

    #devnet .card p {
        min-height:84px;
    }

    #devnet .section-header h2 {
        padding:0 20px;
    }

    #devnet .section-header p {
        padding:0 20px;
    }

    #devnet .cards-grid {
        margin-left:20px;
    }

    #validation .validation-left > h2 {
        font-size:24px;
        text-align:center;
    }

    #validation .validation-left > h2 > span {
        font-size:24px;
    }

    #validation .validation-left > p {
        font-size:14px;
        text-align:center;
    }

    #validation .validation-actions {
        display:none;
    } 

    #validation .validation-container {
        gap:20px;
    }

    #validation .table-row.header > span {
        font-size:14px;
    }

    #validation .table-row:not(.header) > span {
        font-size:12px;
    }

    #validation .table-row {
        padding:14px 0;
    }

    #validation .validation-actions.mobile {
        display:block!important;
        width:100%;
        margin-top:0;
    }

    #validation .validation-actions.mobile .btn-primary {
        padding:12px 5px;
        max-width:166px;
        margin:0 auto;
        margin-top:0;
    }

    #validation .validation-actions.mobile .small-note {
       text-align:center;
       font-size:12px!important;
    }

    #roadmap .roadmap-container {
        gap:30px;
    }

    #roadmap .roadmap-header h2 {
        font-size:24px;
        text-align:center;
    }

    #roadmap .roadmap-header span {
        font-size:24px;
    }

    #roadmap .roadmap-header p {
        font-size:14px;
        text-align:center;
    }

    #roadmap .roadmap-stages .stage-item h3 {
        font-size:18px;
    }

    #roadmap .roadmap-stages .stage-item p {
        font-size:14px;
    }

    #roadmap .roadmap-stages .stage-footer a {
        font-size:14px;
    }

    #roadmap .roadmap-stages .stage-footer p {
        font-size:12px;
    }

    #community .comm-header h2 {
        font-size:24px;
        text-align:center;
    }

    #community .comm-header span {
        font-size:24px;
    }

    #community .comm-header p {
        font-size:14px;
        text-align:center;
    }

    #community .cards-grid {
        gap:13px;
    }

    #footer .footer-content {
        flex-direction:row;
        flex-wrap:wrap;
    }

    #footer .footer-col:first-child {
        width:100%;
    }

    #footer .footer-col:not(:first-child) {
        width:44%;
    }

    #footer .footer-col {
        gap:8px;
    }

    #footer .footer-bottom p {
        font-size:12px;
    }
}

/* =========================================================================
   LEGAL PAGES (Privacy / Terms)
   ========================================================================= */

#privacy,
#terms {
  max-width: 1440px;  padding-left: calc(var(--gap-md) + var(--gap-xs));
  margin: 0 auto;
  padding: var(--section-padding-desktop);
  position: relative;
}

.legal-section .legal-container {
  position: relative;
  z-index: 1;

  display: flex;
  flex-direction: column;
  gap: var(--gap-xl);
}

.legal-section .legal-header h2 {
  font-size: var(--fs-40);
  margin-bottom: var(--gap-sm);
  color: var(--text-light);
}

.legal-section .legal-header h2 span {
  font-weight: 200;
}

.legal-section .legal-header p {
  font-size: var(--fs-14);
  color: var(--text-grey);
  line-height: 1.5;
  opacity: 0.8;
}

.legal-section .legal-content {
  display: flex;
  flex-direction: column;
}

.legal-section .legal-item {
  transition: 0.5s;
  background-color: transparent;
  border-top: 1px solid #80808026;
  padding: var(--gap-md) 0;
}

.legal-section .legal-item:hover {
  border-color: #808080a8;
}

.legal-section .legal-item h3 {
  font-size: var(--fs-18);
  color: var(--text-light);
  margin-bottom: var(--gap-xs);
}

.legal-section .legal-item p {
  font-size: var(--fs-16);
  color: var(--text-grey);
  line-height: 1.6;
  max-width: 1000px;
}

.legal-section .legal-item a {
  color: var(--text-light);
  text-decoration: underline;
  text-underline-offset: var(--gap-xs);
  transition: 0.5s;
}

.legal-section .legal-item a:hover {
  color: var(--text-grey);
}

.legal-section .legal-item ul {
  margin-top: var(--gap-xs);
  margin-bottom: var(--gap-xs);
  list-style-type: disc;
}

.legal-section .legal-item li {
  font-size: var(--fs-16);
  color: var(--text-grey);
  line-height: 1.6;
  margin-bottom: var(--gap-xs);
}

/* remove extra spacing after last bullet */
.legal-section .legal-item li:last-child {
  margin-bottom: 0;
}

@media (max-width: 1024px) {
  #privacy,
  #terms {
    padding: var(--section-padding-tablet);
  }

  #privacy::before,
  #terms::before {
    width: 100%;
    top: calc(var(--gap-xl) + var(--gap-md));
    height: 320px;
  }
}

@media (max-width: 768px) {
  #privacy,
  #terms {
    padding: var(--section-padding-tablet);
  }

  .legal-section .legal-container {
    gap: var(--gap-lg);
  }

  .legal-section .legal-header h2 {
    font-size: var(--fs-24);
    margin-bottom: var(--gap-xs);
  }

  .legal-section .legal-header p {
    font-size: var(--fs-12);
  }

  .legal-section .legal-item {
    padding: var(--gap-sm) 0;
  }

  .legal-section .legal-item h3 {
    font-size: var(--fs-16);
  }

  .legal-section .legal-item p {
    font-size: var(--fs-14);
  }

  .legal-section .legal-item li {
    font-size: var(--fs-14);
  }
}