/*
Theme Name: Byte Horizons Astra Child
Theme URI: https://bytehorizons.com
Description: Astra child theme for Byte Horizons.
Author: Byte Horizons
Template: astra
Version: 1.0.0
Text Domain: byte-horizons
*/

:root{
  --bh-navy:#243746;
  --bh-blue:#2f80ed;
  --bh-ink:#14212b;
  --bh-muted:#667784;
  --bh-soft:#f4f7fa;
  --bh-white:#ffffff;
  --bh-border:#dfe7ed;
  --bh-shadow:0 18px 50px rgba(36,55,70,.12);
}

body{
  color:var(--bh-ink);
  background:var(--bh-white);
}

.site-content .ast-container{
  max-width:100%;
  padding-left:0;
  padding-right:0;
}

.entry-content > *{
  margin-top:0;
  margin-bottom:0;
}

.bh-wrap{
  width:min(1180px, calc(100% - 40px));
  margin:0 auto;
}

.bh-hero{
  position:relative;
  overflow:hidden;
  background:
    radial-gradient(circle at 15% 20%, rgba(47,128,237,.20), transparent 34%),
    linear-gradient(135deg, #1e303d 0%, #243746 60%, #172630 100%);
  color:#fff;
  padding:110px 0 96px;
}

.bh-hero:after{
  content:"";
  position:absolute;
  right:-130px;
  bottom:-190px;
  width:520px;
  height:520px;
  border:1px solid rgba(255,255,255,.12);
  border-radius:50%;
  box-shadow:0 0 0 70px rgba(255,255,255,.025),0 0 0 140px rgba(255,255,255,.02);
}

.bh-hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:70px;
  align-items:center;
}

.bh-kicker{
  display:inline-block;
  margin-bottom:18px;
  font-size:.78rem;
  font-weight:800;
  letter-spacing:.16em;
  text-transform:uppercase;
  color:#9fc5ff;
}

.bh-hero h1{
  color:#fff;
  font-size:clamp(2.8rem,6vw,5.2rem);
  line-height:1.02;
  margin:0 0 22px;
  letter-spacing:-.045em;
}

.bh-hero p{
  max-width:680px;
  font-size:1.18rem;
  line-height:1.8;
  color:#d9e4eb;
}

.bh-logo-panel{
  background:rgba(255,255,255,.07);
  border:1px solid rgba(255,255,255,.14);
  border-radius:28px;
  min-height:390px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:var(--bh-shadow);
  backdrop-filter:blur(8px);
}

.bh-logo-panel img{
  width:min(320px,75%);
  height:auto;
}

.bh-actions{
  display:flex;
  flex-wrap:wrap;
  gap:14px;
  margin-top:30px;
}

.bh-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:50px;
  padding:0 24px;
  border-radius:999px;
  text-decoration:none!important;
  font-weight:800;
  transition:.2s ease;
}

.bh-btn-primary{background:var(--bh-blue);color:#fff!important}
.bh-btn-primary:hover{transform:translateY(-2px);box-shadow:0 12px 24px rgba(47,128,237,.28)}
.bh-btn-ghost{border:1px solid rgba(255,255,255,.35);color:#fff!important}
.bh-btn-dark{background:var(--bh-navy);color:#fff!important}
.bh-btn-light{background:#fff;color:var(--bh-navy)!important}

.bh-section{padding:88px 0}
.bh-section-soft{background:var(--bh-soft)}
.bh-section-dark{background:var(--bh-navy);color:#fff}
.bh-section-dark h2,.bh-section-dark h3{color:#fff}

.bh-section-head{
  max-width:760px;
  margin-bottom:44px;
}

.bh-section-head h2{
  font-size:clamp(2rem,4vw,3.2rem);
  line-height:1.08;
  margin:0 0 14px;
  letter-spacing:-.03em;
}

.bh-section-head p{
  color:var(--bh-muted);
  font-size:1.08rem;
  line-height:1.75;
}

.bh-grid-3{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
}

.bh-grid-2{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:28px;
}

.bh-card{
  background:#fff;
  border:1px solid var(--bh-border);
  border-radius:22px;
  padding:30px;
  box-shadow:0 10px 35px rgba(36,55,70,.06);
}

.bh-card h3{margin:8px 0 12px;font-size:1.45rem}
.bh-card p{color:var(--bh-muted);line-height:1.75}
.bh-card .bh-tag{margin-bottom:12px}

.bh-tag{
  display:inline-flex;
  padding:7px 11px;
  border-radius:999px;
  background:#eaf2ff;
  color:#1f63bc;
  font-size:.72rem;
  font-weight:900;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.bh-app-card{
  position:relative;
  overflow:hidden;
}

.bh-app-card:before{
  content:"";
  position:absolute;
  right:-40px;
  top:-45px;
  width:140px;
  height:140px;
  border-radius:50%;
  background:rgba(47,128,237,.08);
}

.bh-feature-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:15px 22px;
  margin:26px 0 0;
  padding:0;
  list-style:none;
}

.bh-feature-list li{
  position:relative;
  padding-left:26px;
  color:var(--bh-muted);
}

.bh-feature-list li:before{
  content:"✓";
  position:absolute;
  left:0;
  color:var(--bh-blue);
  font-weight:900;
}

.bh-stat-strip{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:1px;
  border:1px solid var(--bh-border);
  border-radius:22px;
  overflow:hidden;
  background:var(--bh-border);
}

.bh-stat{
  background:#fff;
  padding:26px;
  text-align:center;
}

.bh-stat strong{
  display:block;
  font-size:1.6rem;
  color:var(--bh-navy);
}

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

.bh-founder{
  display:grid;
  grid-template-columns:.8fr 1.2fr;
  gap:60px;
  align-items:center;
}

.bh-founder-card{
  border-radius:28px;
  padding:46px;
  background:linear-gradient(150deg,#253b4a,#172630);
  color:#fff;
  min-height:360px;
  display:flex;
  flex-direction:column;
  justify-content:flex-end;
}

.bh-founder-card h3{color:#fff;margin:0 0 8px;font-size:2rem}
.bh-founder-card p{color:#cbd8e0;margin:0}

.bh-cta{
  border-radius:28px;
  padding:55px;
  background:linear-gradient(135deg,#2f80ed,#245fad);
  color:#fff;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:32px;
}

.bh-cta h2{color:#fff;margin:0 0 10px}
.bh-cta p{margin:0;color:#e9f2ff}

.bh-page-hero{
  background:linear-gradient(135deg,#1e303d,#243746);
  color:#fff;
  padding:88px 0 72px;
}

.bh-page-hero h1{
  color:#fff;
  font-size:clamp(2.5rem,5vw,4.4rem);
  margin:0 0 18px;
}

.bh-page-hero p{
  color:#d9e4eb;
  max-width:760px;
  font-size:1.12rem;
  line-height:1.75;
}

.bh-product{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:52px;
  align-items:center;
  padding:52px 0;
  border-bottom:1px solid var(--bh-border);
}

.bh-product:last-child{border-bottom:0}
.bh-product-visual{
  min-height:360px;
  border-radius:28px;
  background:linear-gradient(145deg,#e9f2ff,#f7fbff);
  border:1px solid #d7e6f8;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:35px;
  text-align:center;
}

.bh-product-visual strong{
  font-size:2.1rem;
  color:var(--bh-navy);
}

.bh-form-shell{
  background:#fff;
  border:1px solid var(--bh-border);
  border-radius:24px;
  padding:34px;
  box-shadow:var(--bh-shadow);
}

.bh-legal h2{margin-top:42px}
.bh-legal p,.bh-legal li{line-height:1.8;color:#485965}

@media(max-width:900px){
  .bh-hero-grid,.bh-founder,.bh-product,.bh-grid-2{grid-template-columns:1fr}
  .bh-grid-3{grid-template-columns:1fr}
  .bh-stat-strip{grid-template-columns:repeat(2,1fr)}
  .bh-logo-panel{min-height:290px}
  .bh-cta{align-items:flex-start;flex-direction:column}
}

@media(max-width:600px){
  .bh-wrap{width:min(100% - 26px,1180px)}
  .bh-hero{padding:78px 0 66px}
  .bh-section{padding:66px 0}
  .bh-feature-list{grid-template-columns:1fr}
  .bh-stat-strip{grid-template-columns:1fr}
  .bh-cta{padding:34px}
}
