/* ==========================================================================
   HyperBoost SMM — modern landing page redesign.
   Loads AFTER the existing app.css and overrides its classes with a
   colorful, mobile-first design. No HTML restructuring required except
   three broken image tags (replaced with inline SVG/CSS in index.blade.php).
   Place at: public/assets/css/landing-modern.css
   ========================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root{
  --p1: #6d28ff;
  --p2: #a855f7;
  --p3: #ec4899;
  --grad: linear-gradient(135deg, var(--p1), var(--p2) 55%, var(--p3));
  --ink: #16132b;
  --muted: #6b6480;
  --surface: #ffffff;
  --bg: #faf9fd;
  --border: #ece9f5;
  --radius: 1.1rem;
  --shadow: 0 10px 30px -12px rgba(109,40,255,.18);
}

body{
  font-family:'Inter',-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;
  color:var(--ink);
  background:var(--bg);
}
h1,h2,h3,h4,h5{ font-family:inherit; font-weight:800; color:var(--ink); }
a{ transition:all .2s ease; }
.section{ padding:5rem 0; }
.center-heading .section-title, .left-heading .section-title{
  font-size:2.1rem; margin-bottom:.5rem;
}
.center-text p{ color:var(--muted); font-size:1.02rem; }

/* ---------- Header / nav ---------- */
.header-area{
  background:rgba(255,255,255,.85);
  backdrop-filter:blur(10px);
  border-bottom:1px solid var(--border);
  padding:.6rem 0;
}
.header-area .logo{ display:flex; align-items:center; gap:.5rem; font-weight:800; }
.main-nav .nav{ display:flex; align-items:center; gap:1.6rem; list-style:none; margin:0; }
.main-nav .nav li a.link{
  color:var(--ink); font-weight:600; font-size:.92rem; position:relative; padding:.3rem 0;
}
.main-nav .nav li a.link::after{
  content:""; position:absolute; left:0; bottom:-2px; width:0; height:2px;
  background:var(--grad); transition:width .2s ease;
}
.main-nav .nav li a.link:hover::after{ width:100%; }
.main-nav .nav li.login a{
  color:var(--ink); font-weight:600; padding:.5rem 1rem; border-radius:99px;
}
.main-nav .nav li.try a{
  background:var(--grad); color:#fff !important; font-weight:700;
  padding:.55rem 1.3rem; border-radius:99px; box-shadow:var(--shadow);
}
.main-nav .nav li.try a:hover{ transform:translateY(-1px); filter:brightness(1.06); }

.menu-trigger{
  display:none; cursor:pointer; font-weight:700; color:var(--ink);
}
@media (max-width:991.98px){
  .main-nav .nav{
    display:none; position:absolute; top:100%; left:0; right:0;
    flex-direction:column; align-items:flex-start; gap:0;
    background:#fff; border-bottom:1px solid var(--border);
    padding:1rem 1.25rem; box-shadow:0 12px 24px rgba(20,10,50,.08);
  }
  .main-nav .nav.is-open{ display:flex; }
  .main-nav .nav li{ width:100%; padding:.5rem 0; border-bottom:1px solid var(--border); }
  .main-nav .nav li:last-child{ border-bottom:none; }
  .main-nav{ position:relative; display:flex; align-items:center; justify-content:space-between; }
  .menu-trigger{ display:block; }
}

/* ---------- Hero ---------- */
.welcome-area{
  background:var(--grad);
  padding:6.5rem 0 5rem;
  position:relative;
  overflow:hidden;
}
.welcome-area::before{
  content:""; position:absolute; inset:0;
  background:radial-gradient(circle at 85% 20%, rgba(255,255,255,.18), transparent 45%);
}
.welcome-area .header-text h1{
  color:#fff; font-size:2.6rem; line-height:1.15; margin-bottom:1.1rem;
}
.welcome-area .header-text p{
  color:rgba(255,255,255,.88); font-size:1.05rem; margin-bottom:1.6rem;
}
.welcome-area .header-text a{
  display:inline-block; background:#fff; color:var(--p1) !important; font-weight:700;
  padding:.8rem 2rem; border-radius:99px; box-shadow:0 10px 25px rgba(0,0,0,.18);
}
.welcome-area .header-text a:hover{ transform:translateY(-2px); }
.hero-art{ width:100%; max-width:440px; margin:0 auto; display:block; }

/* ---------- About ---------- */
#about{ padding:5rem 0; }
.about-stats{ display:grid; grid-template-columns:repeat(3,1fr); gap:1rem; margin-top:1.5rem; }
.about-stats .stat{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:1.25rem 1rem; text-align:center; box-shadow:var(--shadow);
}
.about-stats .stat .num{ font-size:1.6rem; font-weight:800; background:var(--grad); -webkit-background-clip:text; background-clip:text; color:transparent; }
.about-stats .stat .lbl{ color:var(--muted); font-size:.82rem; font-weight:600; }
.left-text a{
  display:inline-block; margin-top:.5rem; background:var(--grad); color:#fff !important;
  font-weight:700; padding:.7rem 1.6rem; border-radius:99px;
}

/* ---------- Feature / service cards ---------- */
.features-small-item{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:1.9rem 1.6rem; height:100%; box-shadow:0 2px 10px rgba(20,10,50,.04);
  transition:transform .2s ease, box-shadow .2s ease; margin-bottom:1.5rem;
}
.features-small-item:hover{ transform:translateY(-5px); box-shadow:var(--shadow); }
.features-small-item .icon-o{
  width:56px; height:56px; border-radius:16px; display:flex; align-items:center; justify-content:center;
  margin-bottom:1rem; font-size:1.4rem; color:#fff; background:var(--grad);
}
.features-title{ font-size:1.05rem; margin-bottom:.5rem; }
.features-small-item p{ color:var(--muted); font-size:.92rem; margin:0; }

/* distinct brand-ish colors per platform icon, in source order */
#services .col-lg-4:nth-child(1) .icon-o{ background:#1877F2; }
#services .col-lg-4:nth-child(2) .icon-o{ background:#14171A; }
#services .col-lg-4:nth-child(3) .icon-o{ background:linear-gradient(135deg,#f58529,#dd2a7b,#8134af); }
#services .col-lg-4:nth-child(4) .icon-o{ background:#FF0000; }
#services .col-lg-4:nth-child(5) .icon-o{ background:linear-gradient(135deg,#25F4EE,#000,#FE2C55); }
#services .col-lg-4:nth-child(6) .icon-o{ background:var(--grad); }

#features .col-lg-4:nth-child(6n+1) .icon-o{ background:#6d28ff; }
#features .col-lg-4:nth-child(6n+2) .icon-o{ background:#2563eb; }
#features .col-lg-4:nth-child(6n+3) .icon-o{ background:#059669; }
#features .col-lg-4:nth-child(6n+4) .icon-o{ background:#ea580c; }
#features .col-lg-4:nth-child(6n+5) .icon-o{ background:#db2777; }
#features .col-lg-4:nth-child(6n+6) .icon-o{ background:#4f46e5; }

/* ---------- Testimonials ---------- */
#testimonials{ background:var(--surface); }
.team-item{
  background:var(--bg); border:1px solid var(--border); border-radius:var(--radius);
  padding:2rem 1.75rem; height:100%; margin-bottom:1.5rem; position:relative;
}
.team-item .u-svg-content{ width:34px; opacity:.15; fill:var(--p1); margin-bottom:.75rem; }
.team-content p{ color:var(--ink); font-size:.98rem; min-height:90px; }
.user-image{
  width:52px; height:52px; border-radius:50%; overflow:hidden; margin-top:1rem;
  display:flex; align-items:center; justify-content:center;
  background:var(--grad); color:#fff; font-weight:700; font-size:1.1rem;
}
.user-image img{ display:none; } /* source image is missing/theme-only; avatar now uses initials below */
.team-info{ margin-top:.4rem; }
.user-name{ font-size:1rem; margin:0; }
.team-info span{ color:var(--muted); font-size:.82rem; }

/* ---------- FAQ ---------- */
#faq{ background:var(--bg); }
.item-faq{
  background:var(--surface); border:1px solid var(--border); border-radius:var(--radius);
  padding:1.3rem 1.5rem; margin-bottom:1.1rem;
}
.item-faq .title{ display:flex; align-items:center; gap:.75rem; cursor:pointer; }
.item-faq .title i{
  width:30px; height:30px; border-radius:9px; background:var(--grad); color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:.8rem; flex-shrink:0;
}
.item-faq .title h5{ font-size:.98rem; margin:0; }
.item-faq .body{ color:var(--muted); font-size:.9rem; padding-left:2.6rem; margin-top:.6rem; }

/* ---------- Contact ---------- */
#contact-us{ background:var(--surface); }
.contact-form .form-control{
  border:1px solid var(--border); border-radius:.65rem; min-height:48px; margin-bottom:1rem;
}
.contact-form .form-control:focus{ border-color:var(--p1); box-shadow:0 0 0 .18rem rgba(109,40,255,.14); }
.main-button{
  background:var(--grad); color:#fff; border:none; font-weight:700;
  padding:.8rem 2.2rem; border-radius:99px; box-shadow:var(--shadow);
}
.main-button:hover{ transform:translateY(-2px); }

/* ---------- Footer ---------- */
footer{ background:var(--ink); padding:3rem 0 2rem; }
footer .social{ display:flex; justify-content:center; gap:.75rem; list-style:none; padding:0; margin-bottom:1.25rem; }
footer .social a{
  width:40px; height:40px; border-radius:50%; background:rgba(255,255,255,.08);
  color:#fff; display:flex; align-items:center; justify-content:center;
}
footer .social a:hover{ background:var(--grad); }
footer .copyright{ text-align:center; color:rgba(255,255,255,.55); font-size:.85rem; }
footer .copyright a{ color:rgba(255,255,255,.8); }

/* ---------- Mobile ---------- */
@media (max-width:575.98px){
  .section{ padding:3.25rem 0; }
  .welcome-area{ padding:5rem 0 3.5rem; text-align:center; }
  .welcome-area .header-text h1{ font-size:1.9rem; }
  .center-heading .section-title{ font-size:1.6rem; }
  .about-stats{ grid-template-columns:1fr; }
}

/* Sticky header (was meant to happen via JS we don't have) + style the
   real text logo now that the wrong placeholder image is removed */
.header-area.header-sticky{
  position: sticky;
  top: 0;
  z-index: 1030;
}
.main-nav .logo.site-logo{
  font-size: 1.3rem;
  font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
  letter-spacing: -.02em;
}

/* Size the real logo image for the nav bar */
.main-nav .logo.site-logo img{
  height: 44px;
  width: auto;
}

/* Real fix: logo and nav menu were stacking vertically instead of
   sitting side-by-side — the outer <nav class="main-nav"> wrapping
   both needed to be the flex row, not just the inner <ul>. */
.main-nav{
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: .6rem 0;
}
.header-area{ padding: 0; }

/* Real fix #2: space-between was leaving a gap because of a hidden
   mobile-only element between the logo and nav. Use margin-left:auto
   on the Login item instead — keeps Home/Services/etc right after the
   logo, and pushes Login/SignUp/language to the far right naturally. */
.main-nav{
  justify-content: flex-start !important;
}
.main-nav .logo{
  margin-right: 2.5rem;
}
.main-nav .nav{
  flex: 1;
  flex-wrap: nowrap;
}
.main-nav .nav li.login{
  margin-left: auto;
}

/* Real fix #3: the theme's own CSS writes this as ".header-area .main-nav"
   (two chained classes), which beats my plain ".main-nav" rule in
   specificity — that's why neither previous fix visibly changed anything.
   Matching that same specificity here, plus !important as a hard
   guarantee against any further cascade surprises. */
.header-area .main-nav{
  display: flex !important;
  align-items: center !important;
  flex-wrap: nowrap !important;
  width: 100% !important;
  justify-content: flex-start !important;
}
.header-area .logo{
  margin-right: 2.5rem !important;
}
.header-area .main-nav > .nav{
  display: flex !important;
  align-items: center !important;
  flex: 1 !important;
  flex-wrap: nowrap !important;
  margin: 0 !important;
}
.header-area .main-nav > .nav li.login{
  margin-left: auto !important;
}

/* Stop "Contact Us" / "Sign Up" from wrapping onto two lines, and
   tighten spacing slightly so everything fits comfortably in one row */
.header-area .main-nav > .nav li,
.header-area .main-nav > .nav li a{
  white-space: nowrap !important;
  flex-shrink: 0;
}
.header-area .main-nav > .nav{
  gap: 1.1rem;
}
.header-area .main-nav > .nav li.login{
  margin-left: 1.5rem !important;
}

/* Real fix #4: switch the mobile menu to a full-screen overlay pinned
   to the viewport itself (position:fixed, not absolute relative to a
   parent) — this is immune to whatever width/positioning quirks the
   nested flex containers were causing, which is why earlier attempts
   at this kept rendering oddly. */
@media (max-width:991.98px){
  .header-area .main-nav > .nav{
    display: none !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100% !important;
    height: 100vh !important;
    background: #ffffff !important;
    z-index: 2000 !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    padding: 5.5rem 1.5rem 2rem !important;
    overflow-y: auto !important;
    margin: 0 !important;
  }
  .header-area .main-nav > .nav.is-open{
    display: flex !important;
  }
  .header-area .main-nav > .nav li{
    width: 100% !important;
    padding: .9rem 0 !important;
    border-bottom: 1px solid var(--border);
    margin-left: 0 !important;
  }
  .header-area{ position: relative; z-index: 2001; }
}
