/* =========================
   LANDING PAGE — style.css
   (complete + back to portfolio)
========================= */

/* VARIABLES */
:root{
  --bg: #ffffff;
  --bg-soft: #f6f8ff;
  --text: #0f172a;
  --muted: #475569;

  --border: rgba(15, 23, 42, 0.10);
  --border-strong: rgba(15, 23, 42, 0.14);

  --accent: #2563eb;
  --accent-dark: #1e40af;

  --card: #ffffff;
  --shadow: 0 22px 55px rgba(15,23,42,0.12);
  --shadow-soft: 0 16px 30px rgba(15,23,42,0.08);

  --radius: 18px;
  --radius-lg: 24px;
}


html, body { overflow-x: hidden; }
img { max-width: 100%; height: auto; }


/* RESET */
*{ margin: 0; padding: 0; box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background:
    radial-gradient(900px 380px at 20% 0%, rgba(37,99,235,0.14), transparent 60%),
    radial-gradient(900px 380px at 90% 0%, rgba(37,99,235,0.10), transparent 60%),
    var(--bg);
  line-height: 1.6;
}

img{ max-width: 100%; display: block; }
a{ color: inherit; }
button{ font-family: inherit; }

/* CONTAINER */
.lp-container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================
   HEADER / NAV
========================= */
.lp-header{
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.lp-header-inner{
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

/* BACK TO PORTFOLIO */
.back-portfolio{
  text-decoration: none;
  font-weight: 650;
  font-size: 0.95rem;
  color: var(--accent);
  padding: 8px 12px;
  border: 1px solid rgba(37,99,235,0.18);
  border-radius: 999px;
  background: rgba(255,255,255,0.7);
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.back-portfolio:hover{
  transform: translateY(-1px);
  box-shadow: var(--shadow-soft);
  background: #fff;
}

.back-portfolio--footer{
  border: 1px solid var(--border);
  color: var(--text);
}

/* NAV LINKS */
.lp-nav{
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.lp-nav a{
  text-decoration: none;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.95rem;
  transition: color .2s ease;
}

.lp-nav a:hover{
  color: var(--text);
}

/* =========================
   HERO
========================= */
.lp-hero{
  padding: 84px 0 54px;
}

.lp-hero-grid{
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 34px;
  align-items: center;
}

.lp-pill{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,0.82);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.92rem;
  box-shadow: 0 12px 24px rgba(15,23,42,0.06);
  margin-bottom: 14px;
}

.lp-title{
  font-size: 3.15rem;
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.lp-subtitle{
  color: var(--muted);
  font-size: 1.05rem;
  max-width: 62ch;
  margin-bottom: 18px;
}

.lp-hero-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

/* BUTTONS */
.lp-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 16px;
  border-radius: 12px;
  font-weight: 700;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease, border-color .2s ease;
  border: 1px solid transparent;
}

.lp-btn-primary{
  background: var(--accent);
  color: #fff;
}

.lp-btn-primary:hover{
  background: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
}

.lp-btn-ghost{
  background: rgba(255,255,255,0.82);
  color: var(--text);
  border-color: var(--border);
}

.lp-btn-ghost:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow-soft);
  border-color: var(--border-strong);
}

.lp-btn-full{
  width: 100%;
}

/* STATS */
.lp-stats{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 12px;
  margin: 16px 0 16px;
}

.lp-stat{
  background: rgba(255,255,255,0.86);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 14px;
  box-shadow: 0 12px 22px rgba(15,23,42,0.06);
}

.lp-stat strong{
  display: block;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
}

.lp-stat span{
  color: var(--muted);
  font-size: 0.95rem;
}

/* TAGS */
.lp-tags{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

.lp-tag{
  border: 1px solid var(--border);
  background: rgba(255,255,255,0.82);
  padding: 10px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 650;
  font-size: 0.92rem;
}

/* =========================
   HERO RIGHT — UI CARDS
========================= */
.lp-hero-right{
  position: relative;
  min-height: 420px;
}

.ui-card{
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  padding: 18px;
  width: min(420px, 100%);
  margin-left: auto;
}

.ui-card--small{
  position: absolute;
  right: 0;
  top: 0;
  width: min(420px, 92%);
  padding: 16px;
  box-shadow: 0 22px 55px rgba(15,23,42,0.10);
}

.ui-card--main{
  position: absolute;
  right: 10px;
  top: 115px;
  width: min(460px, 96%);
  padding: 18px;
}

.ui-card--bottom{
  position: absolute;
  right: 26px;
  bottom: 0;
  width: min(420px, 92%);
  padding: 16px;
  box-shadow: 0 22px 55px rgba(15,23,42,0.10);
}

/* UI LINES */
.ui-line{
  height: 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.08);
  margin-bottom: 10px;
}

.ui-line.w80{ width: 80%; }
.ui-line.w70{ width: 70%; }
.ui-line.w65{ width: 65%; }
.ui-line.w60{ width: 60%; }
.ui-line.w50{ width: 50%; }

.ui-pills{
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.ui-pill{
  height: 10px;
  width: 42px;
  border-radius: 999px;
  background: rgba(37,99,235,0.28);
}

/* UI TOP DOTS */
.ui-top{
  display: flex;
  gap: 8px;
  margin-bottom: 16px;
}

.ui-dot{
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: rgba(15,23,42,0.16);
}

/* UI CHART */
.ui-chart{
  height: 130px;
  border-radius: 16px;
  background:
    linear-gradient(180deg, rgba(37,99,235,0.14), rgba(37,99,235,0.00));
  border: 1px solid rgba(37,99,235,0.12);
  display: flex;
  align-items: flex-end;
  justify-content: space-evenly;
  padding: 14px 16px;
  gap: 12px;
  overflow: hidden;
}

.ui-chart .bar{
  width: 22%;
  border-radius: 14px 14px 0 0;
  background: linear-gradient(180deg, rgba(37,99,235,0.55), rgba(37,99,235,0.18));
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.55);
}

.ui-chart .b1{ height: 52%; }
.ui-chart .b2{ height: 36%; }
.ui-chart .b3{ height: 68%; }
.ui-chart .b4{ height: 42%; }

/* =========================
   SECTIONS
========================= */
.lp-section{
  padding: 78px 0;
}

.lp-section--alt{
  background:
    radial-gradient(700px 220px at 20% 0%, rgba(37,99,235,0.08), transparent 60%),
    var(--bg-soft);
  border-top: 1px solid rgba(15,23,42,0.06);
  border-bottom: 1px solid rgba(15,23,42,0.06);
}

.lp-section-head{
  margin-bottom: 22px;
}

.lp-section-head h2{
  font-size: 2rem;
  letter-spacing: -0.02em;
  margin-bottom: 8px;
}

.lp-section-head p{
  color: var(--muted);
  max-width: 72ch;
}

/* GRID 3 */
.lp-grid3{
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
}

/* FEATURE CARDS */
.lp-card{
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  box-shadow: 0 16px 30px rgba(15,23,42,0.08);
}

.lp-card h3{
  font-size: 1.08rem;
  letter-spacing: -0.01em;
  margin-bottom: 8px;
}

.lp-card p{
  color: var(--muted);
}

/* =========================
   PRICING
========================= */
.lp-price{
  background: rgba(255,255,255,0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-soft);
}

.lp-price h3{
  font-size: 1.1rem;
  margin-bottom: 4px;
}

.lp-price-sub{
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 14px;
}

.lp-price-value{
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 14px;
}

.lp-list{
  list-style: none;
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.lp-list li{
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: var(--text);
}

.lp-list li::before{
  content: "✓";
  color: var(--accent);
  font-weight: 900;
  line-height: 1.2;
  margin-top: 1px;
}

.lp-price--featured{
  border-color: rgba(37,99,235,0.35);
  box-shadow: 0 26px 70px rgba(37,99,235,0.18);
  transform: translateY(-6px);
}

/* =========================
   FAQ
========================= */
.lp-faq{
  display: grid;
  gap: 12px;
}

.lp-faq-item{
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 14px 16px;
  box-shadow: 0 14px 28px rgba(15,23,42,0.06);
}

.lp-faq-item summary{
  cursor: pointer;
  font-weight: 750;
  letter-spacing: -0.01em;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}

.lp-faq-item summary::-webkit-details-marker{ display: none; }

.lp-faq-item summary::after{
  content: "+";
  font-weight: 900;
  color: var(--accent);
  flex: none;
}

.lp-faq-item[open] summary::after{
  content: "–";
}

.lp-faq-item p{
  margin-top: 10px;
  color: var(--muted);
}

/* =========================
   CTA
========================= */
.lp-cta{
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-soft);
}

.lp-cta h2{
  font-size: 1.9rem;
  margin-bottom: 8px;
}

.lp-cta p{
  color: var(--muted);
  max-width: 72ch;
}

.lp-cta-actions{
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 16px;
}

/* =========================
   FOOTER
========================= */
.lp-footer{
  padding: 28px 0;
  border-top: 1px solid rgba(15,23,42,0.06);
  background: rgba(255,255,255,0.85);
}

.lp-footer-inner{
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.lp-footer p{
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 980px){
  .lp-hero-grid{
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .lp-hero-right{
    min-height: 360px;
  }

  .ui-card--small,
  .ui-card--main,
  .ui-card--bottom{
    position: relative;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    margin: 0;
  }

  .ui-card--small{ margin-bottom: 12px; }
  .ui-card--main{ margin-bottom: 12px; }

  .lp-title{
    font-size: 2.55rem;
  }

  .lp-grid3{
    grid-template-columns: 1fr;
  }

  .lp-stats{
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px){
  .lp-container{ padding: 0 16px; }

  .lp-title{
    font-size: 2.05rem;
  }

  .lp-header-inner{
    height: auto;
    padding: 14px 0;
  }

  .lp-nav{
    gap: 12px;
  }
}


