/* /CSS/Home.css */

/* =========================
   VARIABLES
========================= */

:root{
  --site-max-width:2000px;
  --accent:#ffd700;
  --text-light:#e6e6e6;
  --page-bg:rgb(15,15,15);
  --page-bg-deep:rgb(15,15,15);
  --radius-lg:24px;
}

/* =========================
   RESET / BASE
========================= */

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html,
body{
  width:100%;
  min-height:100%;
}

body{
  font-family:"Montserrat",sans-serif;
  color:var(--text-light);
  background:#000;
  overflow-x:hidden;
  position:relative;
}

.page-shell,
main{
  width:100%;
  max-width:var(--site-max-width);
  margin-inline:auto;
}

.page-shell{
  position:relative;
  background:linear-gradient(180deg,var(--page-bg),var(--page-bg-deep));
}

main{
  position:relative;
  z-index:2;
  padding-top:20px;
  padding-bottom:20px;
  background:transparent;
  box-shadow:0 -2px 2px 0 rgba(150,150,150,1);
}

.page-shell > .site-header{
  position:relative;
  z-index:auto !important;
}

.page-shell > .site-header .hero-banner{
  position:relative;
  z-index:0 !important;
}

.page-shell > .site-header .site-nav{
  z-index:1000;
}

.page-shell > .site-header .desktop-dropdown-layer,
.page-shell > .site-header .mobile-menu-panel{
  z-index:999;
}

hr{
  width:95%;
  height:3px;
  margin:20px auto;
  border:none;
  border-radius:999px;
  background:linear-gradient(90deg,transparent,rgb(200,200,200),transparent);
}

/* =========================
   TITLE SECTION
========================= */

.dashboard-section{
  width:100%;
}

.dashboard-title-wrap{
  width:min(95%,var(--site-max-width));
  margin-inline:auto;
}

.title-article{
  width:100%;
  background:linear-gradient(180deg,rgb(35,35,35) 0%,rgb(55,55,55) 50%,rgb(35,35,35) 100%);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:var(--radius-lg);
  box-shadow:0 0 3px 3px rgb(0,0,0);
  overflow:hidden;
}

.title-article--text{
  display:flex;
  justify-content:center;
  align-items:center;
  padding:clamp(10px,1.4vw,18px) clamp(12px,2vw,24px);
}

.page-title-text{
  width:min(100%,1200px);
  max-width:1200px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:0.75em;
  color:#fff;
  font-size:clamp(1.2rem,2.95vw,2.35rem);
  font-weight:800;
  line-height:1.1;
  letter-spacing:0.08em;
  text-align:center;
  text-transform:uppercase;
  text-shadow:2px 2px 4px rgba(0,0,0,0.85);
  white-space:nowrap;
  overflow:hidden;
}

.page-title-text__copy,
.page-title-text__row{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  white-space:nowrap;
}

.page-title-text__copy{
  gap:0.35em;
  flex:0 0 auto;
  min-width:0;
}

.page-title-text__row{
  gap:0.35em;
}

.page-title-text strong{
  color:var(--accent);
  font-weight:900;
}

.title-line{
  position:relative;
  width:3em;
  height:0.26em;
  display:block;
  flex:0 0 3em;
  overflow:hidden;
}

.title-line::before{
  content:"";
  position:absolute;
  inset:0.06em 0;
  display:block;
  background:linear-gradient(90deg,rgba(255,215,0,0),var(--accent) 42%,var(--accent) 100%);
  clip-path:polygon(0 50%,100% 0,100% 100%);
  filter:drop-shadow(0 0 2px rgba(255,215,0,0.35));
}

.title-line:last-child::before{
  background:linear-gradient(90deg,var(--accent) 0%,var(--accent) 58%,rgba(255,215,0,0));
  clip-path:polygon(0 0,100% 50%,0 100%);
}

/* =========================
   DASHBOARD CARDS
========================= */

.dashboard-grid{
  width:min(95%,var(--site-max-width));
  margin-inline:auto;
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  column-gap:24px;
  row-gap:20px;
}

.dashboard-card{
  display:flex;
  flex-direction:column;
  background:linear-gradient(90deg,rgb(50,50,50) 0%,rgb(80,80,80) 50%,rgb(50,50,50) 100%);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:var(--radius-lg);
  box-shadow:0 0 3px 3px rgb(0,0,0);
  overflow:hidden;
  backdrop-filter:blur(4px);
  transition:transform 0.25s ease,box-shadow 0.25s ease,border-color 0.25s ease,background-color 0.25s ease;
}

.dashboard-card__preview{
  width:calc(100% - 60px);
  margin:30px auto;
  display:flex;
  flex:1;
  flex-direction:column;
  border-radius:18px;
  box-shadow:0 0 3px 3px rgba(0,0,0,1);
  overflow:hidden;
}

.dashboard-card__img{
  width:100% !important;
  height:auto !important;
  display:block;
  margin:0;
  object-fit:cover;
  object-position:center;
  border:1px solid rgba(255,255,255,0.14);
  border-bottom:1px solid rgba(255,255,255,0.18);
  border-radius:18px 18px 0 0;
  box-shadow:none;
  overflow:hidden;
}

.dashboard-card__content{
  width:100%;
  margin:0;
  display:flex;
  flex:1;
  flex-direction:column;
  background:rgba(30,30,30,1);
  border:1px solid rgba(255,255,255,0.14);
  border-top:none;
  border-radius:0 0 18px 18px;
  box-shadow:none;
  overflow:hidden;
}

.dashboard-card__title{
  margin:0;
  padding:17px 18px 3px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  color:#fff;
  font-family:"Montserrat",sans-serif;
  font-size:1.25rem;
  letter-spacing:0.05em;
  text-align:center;
}

.dashboard-card__body{
  padding:10px 22px 24px;
  display:flex;
  flex:1;
  flex-direction:column;
}

.dashboard-card__body p{
  flex:1;
  color:rgba(230,230,230,0.95);
  font-size:0.85rem;
  line-height:1.45;
  text-align:center;
}

.dashboard-card__actions{
  margin-top:auto;
  text-align:center;
}

/* =========================
   BUTTONS
========================= */

.section-button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-top:30px;
  padding:11px 22px;
  border:none;
  border-radius:999px;
  background:linear-gradient(180deg,#ffe45c,#ffd000);
  box-shadow:0 8px 20px rgba(0,0,0,0.28);
  color:#111;
  font-size:13px;
  font-weight:700;
  text-decoration:none;
  cursor:pointer;
  transition:transform 0.2s ease,box-shadow 0.2s ease,opacity 0.2s ease,border-color 0.25s ease,background-color 0.25s ease;
}

.section-button:hover{
  transform:translateY(-1px) scale(1.03);
  box-shadow:0 10px 22px rgba(0,0,0,0.34);
}

.section-button:disabled,
.section-button[aria-disabled="true"]{
  opacity:0.65;
  cursor:not-allowed;
  transform:none;
  box-shadow:0 8px 20px rgba(0,0,0,0.18);
}

.section-button:focus-visible{
  outline:2px solid var(--accent);
  outline-offset:4px;
  border-radius:8px;
}

/* =========================
   ABOUT / WHY SECTION
========================= */

.about-home-section{
  width:min(95%,var(--site-max-width));
  margin:0 auto 30px;
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}

.about-home{
  width:100%;
  margin:0;
  padding:30px;
  display:flex;
  background:linear-gradient(90deg,rgb(50,50,50) 0%,rgb(80,80,80) 50%,rgb(50,50,50) 100%);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:var(--radius-lg);
  box-shadow:0 0 3px 3px rgb(0,0,0);
}

.about-home__content{
  width:100%;
  display:flex;
  flex-direction:column;
  padding:25px;
  background:rgba(30,30,30,1);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:calc(var(--radius-lg) - 6px);
  box-shadow:0 0 3px 3px rgb(0,0,0);
  text-align:left;
}

.about-home__content h2{
  margin:0 0 14px;
  color:#fff;
  font-size:1.5rem;
  letter-spacing:0.05em;
}

.about-home__intro{
  max-width:1000px;
  margin:0;
  color:rgba(230,230,230,0.9);
  font-size:0.85rem;
  line-height:1.65;
  text-align:left;
}

/* =========================
   RESPONSIVE
========================= */

@media (min-width:769px){
  .title-article.title-article--text{
    padding-left:clamp(36px,4vw,72px);
    padding-right:clamp(36px,4vw,72px);
  }
}

@media (max-width:1100px){
  .dashboard-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}

@media (max-width:768px){
  .title-article.title-article--text{
    padding:13px 12px;
    border-radius:18px;
  }

  .page-title-text{
    width:min(100%,480px);
    gap:0.72em;
    font-size:clamp(1.16rem,5.15vw,1.9rem);
    letter-spacing:0.05em;
    white-space:nowrap;
    overflow:visible;
  }

  .page-title-text__copy{
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:0.18em;
    flex:0 0 auto;
    white-space:nowrap;
  }

  .page-title-text__row{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:0.32em;
    white-space:nowrap;
  }

  .title-line{
    width:1.85em;
    height:0.26em;
    flex:0 0 1.85em;
    overflow:visible;
  }

  .section-button{
    padding:9px 16px;
    font-size:11px;
  }

  .dashboard-grid,
  .about-home-section{
    grid-template-columns:1fr;
  }

  .about-home-section{
    gap:20px;
  }

  .about-home{
    padding:15px;
  }

  .dashboard-card__preview{
    width:calc(100% - 30px);
    margin:15px auto;
  }

  .dashboard-card__body p{
    font-size:0.85rem;
    line-height:1.45;
  }
}

@media (max-width:600px){
  .about-home-section{
    width:95%;
    margin:0 auto 26px;
  }

  .about-home{
    width:100%;
    margin:0;
  }

  .about-home__content{
    padding:28px 20px;
  }
}