/* ==========================================
   BEACON LANDING PAGE
   Version: 1.0
========================================== */


/* ==========================================
   Navbar
========================================== */

.navbar {

    position: sticky;
    top: 0;
    z-index: 1000;

    width: 100%;

    background: rgba(255, 255, 255, .85);

    backdrop-filter: blur(14px);

    border-bottom: 1px solid var(--gray-100);

}

.navbar .container {

    height: 80px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.logo {

    display: flex;

    align-items: center;

    gap: 10px;

    font-size: 22px;

    font-weight: 700;

}

.logo img {

    width: 34px;

    height: 34px;

}

.nav-links {

    display: flex;

    align-items: center;

    gap: 36px;

}

.nav-links a {

    color: var(--gray-600);

    font-weight: 500;

    transition: var(--transition);

}

.nav-links a:hover {

    color: var(--black);

}

.nav-actions {

    display: flex;

    align-items: center;

    gap: 14px;

}


/* ==========================================================
   HERO
========================================================== */

.hero {

    position: relative;

    overflow: hidden;

    padding: 10px 0;

}

.hero::before {

    content: "";

    position: absolute;

    top: -300px;
    right: -300px;

    width: 700px;
    height: 700px;

    border-radius: 50%;

    background: radial-gradient(circle,
            rgba(10, 10, 10, .04) 0%,
            transparent 70%);

    pointer-events: none;

}

.hero-grid {

    display: grid;

    grid-template-columns: 1fr 1.1fr;

    align-items: center;

    gap: 80px;

}



/* ==========================================================
   LEFT
========================================================== */

.hero-content {

    max-width: 560px;

}

.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 10px 18px;

    margin-bottom: 28px;

    background: var(--gray-100);

    border: 1px solid var(--gray-200);

    border-radius: 999px;

    font-size: 14px;

    font-weight: 600;

}

.hero-badge i {

    font-size: 15px;

}

.hero h1 {

    font-size: 72px;

    line-height: 1.05;

    letter-spacing: -3px;

    margin-bottom: 28px;

}

.hero h1 span {

    display: block;

}

.hero p {

    max-width: 540px;

    margin-bottom: 42px;

    font-size: 19px;

    color: var(--gray-600);

}

.hero-actions {

    display: flex;

    align-items: center;

    gap: 18px;

    margin-bottom: 36px;

}

.hero-actions .link {

    font-weight: 600;

}

.hero-actions .link:hover {

    gap: 14px;

}

.hero-meta {

    display: flex;

    align-items: center;

    gap: 30px;

    flex-wrap: wrap;

}

.hero-meta div {

    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--gray-600);

    font-size: 15px;

}

.hero-meta i {

    color: var(--black);

}



/* ==========================================================
   RIGHT
========================================================== */

.hero-preview {

    position: relative;

    display: flex;

    justify-content: flex-end;

}

.preview-window {

    position: relative;

    width: 100%;

    max-width: 640px;

    min-height: 620px;

    background: var(--white);

    border: 1px solid var(--gray-200);

    border-radius: 24px;

    overflow: hidden;

    box-shadow: 0 30px 80px rgba(0, 0, 0, .08);

    transition: all .35s ease;

}

.preview-window:hover {

    transform: translateY(-8px);

    box-shadow: 0 40px 100px rgba(0, 0, 0, .12);

}



/* ==========================================================
   WINDOW HEADER
========================================================== */

.preview-header {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px 24px;

    border-bottom: 1px solid var(--gray-200);

    background: var(--gray-50);

}

.preview-header span {

    font-size: 15px;

    font-weight: 600;

}

.preview-dots {

    display: flex;

    align-items: center;

    gap: 8px;

}

.preview-dots span {

    width: 12px;

    height: 12px;

    border-radius: 50%;

    background: var(--gray-300);

}



/* ==========================================================
   APP LAYOUT
========================================================== */

.preview-window {

    display: grid;

    grid-template-columns: 180px 1fr;

}

.preview-header {

    grid-column: 1/-1;

}

/* ==========================================================
   SIDEBAR
========================================================== */

.preview-sidebar {

    display: flex;
    flex-direction: column;

    gap: 8px;

    padding: 24px;

    border-right: 1px solid var(--gray-200);

    background: var(--gray-50);

}

.preview-nav {

    display: flex;
    align-items: center;

    gap: 12px;

    padding: 14px 16px;

    border-radius: 12px;

    font-size: 15px;
    font-weight: 500;

    color: var(--gray-600);

    cursor: pointer;

    transition: all var(--transition);

}

.preview-nav i {

    font-size: 18px;

}

.preview-nav:hover {

    background: var(--white);

    color: var(--black);

}

.preview-nav.active {

    background: var(--white);

    color: var(--black);

    box-shadow: var(--shadow-sm);

}



/* ==========================================================
   MAIN
========================================================== */

.preview-main {

    padding: 28px;

}

.preview-top {

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 32px;

}

.preview-top small {

    display: block;

    margin-bottom: 6px;

}

.preview-top h3 {

    font-size: 24px;

}



/* ==========================================================
   UPDATE LIST
========================================================== */

.preview-update {

    display: flex;
    align-items: center;

    gap: 18px;

    padding: 18px;

    margin-bottom: 16px;

    border: 1px solid var(--gray-200);

    border-radius: 16px;

    background: var(--white);

    transition: all var(--transition);

}

.preview-update:last-child {

    margin-bottom: 0;

}

.preview-update:hover {

    transform: translateY(-3px);

    box-shadow: var(--shadow-sm);

}

.preview-update-icon {

    width: 52px;
    height: 52px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: var(--gray-100);

    border-radius: 14px;

    flex-shrink: 0;

}

.preview-update-icon i {

    font-size: 20px;

}

.preview-update h4 {

    font-size: 17px;

    margin-bottom: 6px;

}

.preview-update small {

    color: var(--gray-500);

}



/* ==========================================================
   RESPONSIVE
========================================================== */

@media(max-width:1100px) {

    .hero {

        padding: 90px 0;

    }

    .hero-grid {

        grid-template-columns: 1fr;

        gap: 70px;

    }

    .hero-content {

        max-width: 100%;
        text-align: center;

    }

    .hero-actions {

        justify-content: center;

    }

    .hero-meta {

        justify-content: center;

    }

    .hero-preview {

        justify-content: center;

    }

    .preview-window {

        max-width: 720px;

    }

}



@media(max-width:768px) {

    .hero {

        padding: 70px 0;

    }

    .hero h1 {

        font-size: 48px;

        letter-spacing: -2px;

    }

    .hero p {

        font-size: 17px;

    }

    .hero-actions {

        flex-direction: column;

        align-items: stretch;

    }

    .hero-actions .btn {

        width: 100%;

    }

    .hero-actions .link {

        justify-content: center;

    }

    .preview-window {

        display: block;

        min-height: auto;

    }

    .preview-sidebar {

        display: none;

    }

    .preview-main {

        padding: 22px;

    }

    .preview-top {

        flex-direction: column;
        align-items: flex-start;
        gap: 18px;

    }

    .preview-top .btn {

        width: 100%;

    }

    .preview-update {

        padding: 16px;

        gap: 14px;

    }

    .preview-update-icon {

        width: 46px;
        height: 46px;

    }

}



@media(max-width:480px) {

    .hero h1 {

        font-size: 38px;

    }

    .hero-badge {

        font-size: 13px;

        padding: 8px 14px;

    }

    .hero-meta {

        flex-direction: column;

        gap: 14px;

        align-items: flex-start;

    }

    .preview-main {

        padding: 18px;

    }

    .preview-update {

        flex-direction: column;
        align-items: flex-start;

    }

}

/* ==========================================================
   BUILT FOR
========================================================== */

.built-for {

    padding: 120px 0;

}

.section-tag {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    padding: 8px 16px;

    margin-bottom: 20px;

    border-radius: 999px;

    background: var(--gray-100);

    border: 1px solid var(--gray-200);

    font-size: 14px;

    font-weight: 600;

}

.built-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

}

.built-card {

    padding: 36px;

    border: 1px solid var(--gray-200);

    border-radius: 20px;

    transition: all var(--transition);

    background: var(--white);

}

.built-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow-md);

}

.built-icon {

    width: 64px;

    height: 64px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 24px;

    border-radius: 18px;

    background: var(--gray-100);

}

.built-icon i {

    font-size: 26px;

}

.built-card h3 {

    margin-bottom: 14px;

    font-size: 24px;

}

.built-card p {

    font-size: 16px;

}

@media(max-width:992px) {

    .built-grid {

        grid-template-columns: 1fr;

    }

}

/* ==========================================================
   WORKFLOW
========================================================== */

.workflow {

    padding: 120px 0;

    background: var(--gray-50);

}

.workflow-grid {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 28px;

}

.workflow-card {

    position: relative;

    padding: 40px 32px;

    background: var(--white);

    border: 1px solid var(--gray-200);

    border-radius: 20px;

    transition: all var(--transition);

}

.workflow-card:hover {

    transform: translateY(-6px);

    box-shadow: var(--shadow-md);

}

.workflow-number {

    position: absolute;

    top: 24px;

    right: 24px;

    font-size: 14px;

    font-weight: 700;

    color: var(--gray-400);

}

.workflow-icon {

    width: 70px;

    height: 70px;

    display: flex;

    align-items: center;

    justify-content: center;

    margin-bottom: 28px;

    border-radius: 18px;

    background: var(--gray-100);

}

.workflow-icon i {

    font-size: 28px;

}

.workflow-card h3 {

    margin-bottom: 16px;

    font-size: 26px;

}

.workflow-card p {

    font-size: 16px;

}

@media(max-width:992px) {

    .workflow-grid {

        grid-template-columns: 1fr;

    }

}

/* ==========================================================
   SHOWCASE
========================================================== */

.showcase {

    padding: 120px 0;

}

.showcase-wrapper {

    display: grid;
    grid-template-columns: 280px 1fr;

    gap: 40px;

    align-items: start;

}

.showcase-sidebar {

    display: flex;
    flex-direction: column;

    gap: 14px;

}

.showcase-item {

    display: flex;
    align-items: center;

    gap: 14px;

    width: 100%;

    padding: 18px 20px;

    border: 1px solid var(--gray-200);

    border-radius: 16px;

    background: var(--white);

    font-size: 16px;

    font-weight: 600;

    transition: all var(--transition);

}

.showcase-item:hover {

    transform: translateX(6px);

    border-color: var(--black);

}

.showcase-item.active {

    background: var(--black);

    color: var(--white);

    border-color: var(--black);

}

.showcase-item i {

    font-size: 18px;

}

.showcase-preview {

    background: var(--white);

    border: 1px solid var(--gray-200);

    border-radius: 24px;

    padding: 40px;

    box-shadow: var(--shadow-md);

}

.preview-header {

    display: flex;
    align-items: center;
    justify-content: space-between;

    margin-bottom: 32px;

}

.preview-header h3 {

    font-size: 28px;

}

.preview-header span {

    padding: 8px 14px;

    background: var(--gray-100);

    border-radius: 999px;

    font-size: 14px;

}

.preview-form .btn {

    margin-top: 12px;

}

@media(max-width:992px) {

    .showcase-wrapper {

        grid-template-columns: 1fr;

    }

    .showcase-sidebar {

        flex-direction: row;

        overflow: auto;

        padding-bottom: 10px;

    }

    .showcase-item {

        min-width: 220px;

    }

}

@media(max-width:768px) {

    .showcase-preview {

        padding: 24px;

    }

}

/* ==========================================================
   TIMELINE
========================================================== */

.timeline-preview {

    padding: 120px 0;

    background: var(--gray-50);

}

.timeline-wrapper {

    position: relative;

    max-width: 900px;

    margin: 0 auto;

}

.timeline-wrapper::before {

    content: "";

    position: absolute;

    left: 22px;
    top: 0;
    bottom: 0;

    width: 2px;

    background: var(--gray-200);

}

.timeline-item {

    position: relative;

    display: flex;

    gap: 32px;

    margin-bottom: 48px;

}

.timeline-item:last-child {

    margin-bottom: 0;

}

.timeline-dot {

    width: 18px;
    height: 18px;

    margin-top: 30px;

    border-radius: 50%;

    background: var(--black);

    border: 5px solid var(--white);

    flex-shrink: 0;

    z-index: 2;

}

.timeline-card {

    flex: 1;

    padding: 30px;

    background: var(--white);

    border: 1px solid var(--gray-200);

    border-radius: 20px;

    transition: all var(--transition);

}

.timeline-card:hover {

    transform: translateY(-5px);

    box-shadow: var(--shadow-md);

}

.timeline-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-bottom: 22px;

}

.timeline-version {

    font-family: monospace;

    font-size: 14px;

    color: var(--gray-500);

}

.timeline-card h3 {

    margin-bottom: 16px;

    font-size: 26px;

}

.timeline-card p {

    margin-bottom: 26px;

}

.timeline-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

}

.timeline-footer span {

    color: var(--gray-500);

    font-size: 14px;

}

.timeline-footer a {

    display: flex;

    align-items: center;

    gap: 8px;

    font-weight: 600;

    transition: all var(--transition);

}

.timeline-footer a:hover {

    gap: 12px;

}

@media(max-width:768px) {

    .timeline-wrapper::before {

        left: 18px;

    }

    .timeline-item {

        gap: 22px;

    }

    .timeline-card {

        padding: 22px;

    }

    .timeline-top {

        flex-direction: column;
        align-items: flex-start;
        gap: 14px;

    }

    .timeline-footer {

        flex-direction: column;
        align-items: flex-start;
        gap: 16px;

    }

}

/* ==========================================================
   CTA
========================================================== */

.cta{

    padding:120px 0;

}

.cta-box{

    max-width:900px;

    margin:0 auto;

    padding:90px 70px;

    text-align:center;

    border:1px solid var(--gray-200);

    border-radius:32px;

    background:var(--white);

    box-shadow:var(--shadow-md);

}

.cta-box h2{

    margin-bottom:24px;

}

.cta-box p{

    max-width:650px;

    margin:0 auto 42px;

}

.cta-actions{

    display:flex;

    justify-content:center;

    gap:18px;

    margin-bottom:42px;

}

.cta-meta{

    display:flex;

    justify-content:center;

    gap:30px;

    flex-wrap:wrap;

}

.cta-meta div{

    display:flex;

    align-items:center;

    gap:10px;

    color:var(--gray-600);

    font-size:15px;

}

.cta-meta i{

    color:var(--black);

}

@media(max-width:768px){

.cta{

padding:90px 0;

}

.cta-box{

padding:50px 28px;

}

.cta-actions{

flex-direction:column;

}

.cta-actions .btn{

width:100%;

}

.cta-meta{

flex-direction:column;

align-items:center;

gap:18px;

}

}


/* ==========================================
   SECTION HEADING
========================================== */

.section-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.section-heading h2 {
  font-size: 40px;
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.section-heading p {
  color: var(--gray-500);
  font-size: 17px;
}

.section-heading .section-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  margin-bottom: 20px;
  border-radius: 999px;
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  font-size: 14px;
  font-weight: 600;
}

/* ==========================================
   RESPONSIVE UPDATES
========================================== */

@media(max-width: 768px) {
  .section-heading h2 {
    font-size: 30px;
  }
  .section-heading p {
    font-size: 15px;
  }
}

/* ==========================================
   MOBILE NAVBAR OVERRIDES
========================================== */

.navbar-toggle {
  display: none;
  background: none;
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 10px 14px;
  font-size: 20px;
  cursor: pointer;
  transition: background 0.2s;
  color: var(--gray-700);
}

.navbar-toggle:hover {
  background: var(--gray-100);
}

.navbar-toggle i {
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 992px) {
  .navbar-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
  }

  /* Hide nav links and actions on mobile by default */
  .navbar-nav,
  .navbar-actions {
    display: none !important;
    flex-direction: column;
    width: 100%;
    gap: 16px;
    padding: 16px 0;
  }

  /* When menu is open, show them */
  .navbar.mobile-open .navbar-nav,
  .navbar.mobile-open .navbar-actions {
    display: flex !important;
  }

  /* Adjust container to stack */
  .navbar .container {
    flex-wrap: wrap;
    height: auto;
    padding: 12px 24px;
  }

  .navbar.mobile-open .container {
    padding-bottom: 20px;
  }

  .navbar-nav {
    order: 2;
    flex: 0 0 100%;
  }

  .navbar-actions {
    order: 3;
    flex: 0 0 100%;
  }

  .navbar-logo {
    order: 0;
    flex: 0 1 auto;
  }

  .navbar-toggle {
    order: 1;
  }

  /* Fix for actions to stack vertically */
  .navbar-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .navbar-actions a {
    width: 100%;
    text-align: center;
  }
}

/* ==========================================
   FIX MOBILE MENU BACKGROUND
========================================== */

/* When mobile menu is open, make background solid */
@media (max-width: 992px) {
  .navbar.mobile-open {
    background: var(--white) !important;
    backdrop-filter: none !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  }

  /* Add a subtle border to separate content */
  .navbar.mobile-open .container {
    border-bottom: 1px solid var(--gray-200);
  }

  /* Style the nav links for better readability */
  .navbar.mobile-open .navbar-nav li a {
    color: var(--black) !important;
    font-weight: 500;
  }

  .navbar.mobile-open .navbar-nav li a:hover {
    color: var(--gray-600) !important;
  }

  /* Fix for the actions on mobile */
  .navbar.mobile-open .navbar-actions {
    padding-top: 8px;
    border-top: 1px solid var(--gray-200);
  }
}





/* ==========================================
   HOW IT WORKS (Premium Two-Column)
========================================== */

.how-it-works {
  padding: 120px 0;
  background: var(--white);
  overflow: hidden;
}

.how-grid {
  display: grid;
  grid-template-columns: 40% 60%;
  gap: 80px;
  align-items: center;
}

/* ----- LEFT COLUMN ----- */
.how-left {
  display: flex;
  flex-direction: column;
  gap: 24px;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease forwards;
}

.how-left .section-tag {
  align-self: flex-start;
  margin-bottom: 0;
}

.how-left h2 {
  font-size: 48px;
  line-height: 1.1;
  letter-spacing: -2px;
  margin: 0;
}

.how-left h2 br {
  display: block;
}

.how-left p {
  font-size: 18px;
  line-height: 1.7;
  color: var(--gray-600);
  max-width: 420px;
  margin: 0;
}

.how-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
  padding: 0;
  margin: 8px 0 4px;
  list-style: none;
}

.how-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-700);
}

.how-features li i {
  font-size: 18px;
  color: var(--black);
}

.how-left .btn {
  align-self: flex-start;
  margin-top: 8px;
}

/* ----- RIGHT COLUMN ----- */
.how-right {
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(30px);
  animation: fadeUp 0.8s ease 0.2s forwards;
}

.how-diagram {
  max-width: 100%;
  height: auto;
  border-radius: 0;
  box-shadow: none;
  display: block;
}

/* ----- Fade Up Animation ----- */
@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==========================================
   RESPONSIVE
========================================== */

/* Tablet */
@media (max-width: 1100px) {
  .how-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .how-left {
    order: 1;
  }
  .how-right {
    order: 2;
  }

  .how-left h2 {
    font-size: 40px;
  }

  .how-left p {
    max-width: 100%;
  }

  .how-features {
    grid-template-columns: 1fr 1fr;
  }
}

/* Mobile */
@media (max-width: 768px) {
  .how-it-works {
    padding: 80px 0;
  }

  .how-grid {
    gap: 48px;
  }

  .how-left {
    gap: 20px;
  }

  .how-left h2 {
    font-size: 32px;
    letter-spacing: -1px;
  }

  .how-left h2 br {
    display: inline;
  }

  .how-left p {
    font-size: 16px;
  }

  .how-features {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .how-features li {
    font-size: 15px;
  }

  .how-left .btn {
    width: 100%;
    justify-content: center;
  }

  .how-diagram {
    width: 100%;
  }
}

/* Small mobile */
@media (max-width: 480px) {
  .how-left h2 {
    font-size: 28px;
  }
}