/* ============================================
   BLNC — COMMUNITY LANDING
   Brand Colors:
   Beige:     #E5D4B8
   Orange:    #FF6600
   Teal Dark: #0D3D47
   ============================================ */

:root {
  --beige:       #E5D4B8;
  --beige-light: #F5EEE0;
  --orange:      #FF6600;
  --orange-dark: #E05500;
  --teal:        #0D3D47;
  --teal-light:  #154d5a;
  --white:       #FFFFFF;
  --text-dark:   #1a2428;
  --text-muted:  #6b7c82;
  --font:        'Inter', sans-serif;
  --nav-h:       72px;
  --radius:      12px;
  --shadow:      0 4px 24px rgba(13,61,71,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--beige-light);
  overflow-x: hidden;
  line-height: 1.65;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; }

/* =========================================
   TYPOGRAPHY HELPERS
   ========================================= */
.section-title {
  font-size: clamp(1.75rem, 3.5vw, 2.6rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

.section-lead {
  font-size: 1.1rem;
  color: inherit;
  opacity: .85;
  max-width: 700px;
  margin: 0 auto 2.5rem;
  text-align: center;
}

/* =========================================
   LAYOUT HELPERS
   ========================================= */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section-light { background: var(--beige-light); color: var(--text-dark); }
.section-dark  { background: var(--teal);        color: var(--white);     }
.section-teal  { background: var(--teal);        color: var(--white);     }

/* =========================================
   BUTTONS
   ========================================= */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  letter-spacing: .02em;
  transition: background .2s, transform .15s, box-shadow .2s;
  white-space: nowrap;
}
.btn-primary:hover {
  background: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255,102,0,.3);
}

.btn-secondary {
  display: inline-block;
  background: transparent;
  color: var(--white);
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid rgba(255,255,255,.6);
  transition: border-color .2s, background .2s, transform .15s;
}
.btn-secondary:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.1);
  transform: translateY(-2px);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: transparent;
  color: var(--teal);
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .95rem;
  border: 2px solid var(--teal);
  transition: background .2s, color .2s, transform .15s;
}
.btn-outline:hover {
  background: var(--teal);
  color: var(--white);
  transform: translateY(-2px);
}

.btn-nav {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 50px;
  font-weight: 600;
  font-size: .88rem;
  transition: background .2s;
  white-space: nowrap;
}
.btn-nav:hover { background: var(--orange-dark); }

.btn-large { padding: 17px 42px; font-size: 1.05rem; }

/* =========================================
   NAVBAR
   ========================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  background: var(--teal);
  box-shadow: 0 2px 16px rgba(0,0,0,.18);
  transition: background .3s, box-shadow .3s;
}

.navbar.scrolled {
  background: rgba(13,61,71,.97);
  box-shadow: 0 4px 24px rgba(0,0,0,.25);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

/* ---- Logo sizing ---- */
.logo-link { display: flex; align-items: center; flex-shrink: 0; }

/* Desktop logo: horizontal BLNC with text (beige, transparent bg) */
.logo-desktop {
  height: 44px;
  width: auto;
  display: block;
}

/* Mobile logo: icon only (beige icon, transparent bg) */
.logo-mobile {
  height: 40px;
  width: auto;
  display: none;
}

/* Show desktop / hide mobile by default */
@media (max-width: 600px) {
  .logo-desktop { display: none; }
  .logo-mobile  { display: block; }
}

/* ---- Nav links ---- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  flex: 1;
  justify-content: flex-end;
}

.nav-links a:not(.btn-nav) {
  color: var(--beige);
  font-size: .9rem;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 8px;
  transition: color .2s, background .2s;
}
.nav-links a:not(.btn-nav):hover {
  color: var(--white);
  background: rgba(255,255,255,.08);
}

/* ---- Burger ---- */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-shrink: 0;
}
.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--beige);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}

/* Burger active state */
.burger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.active span:nth-child(2) { opacity: 0; }
.burger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .burger { display: flex; }

  .nav-links {
    display: none;
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--teal);
    flex-direction: column;
    align-items: stretch;
    padding: 20px 24px 30px;
    gap: 4px;
    box-shadow: 0 8px 32px rgba(0,0,0,.3);
  }

  .nav-links.open { display: flex; }

  .nav-links a:not(.btn-nav) {
    padding: 12px 16px;
    font-size: 1rem;
    border-radius: 10px;
  }

  .nav-links .btn-nav {
    margin-top: 8px;
    text-align: center;
    padding: 14px 22px;
  }
}

/* =========================================
   HERO
   ========================================= */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  background:
    url('https://images.pexels.com/photos/1366919/pexels-photo-1366919.jpeg?auto=compress&cs=tinysrgb&w=1600')
    center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(13,61,71,.82) 0%, rgba(13,61,71,.65) 60%, rgba(0,0,0,.4) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
  padding: 80px 24px 80px;
  margin: 0 auto;
  text-align: center;
  color: var(--white);
}

.hero-title {
  font-size: clamp(2.2rem, 5.5vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -.02em;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 20px rgba(0,0,0,.3);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem);
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  color: var(--beige);
}
.hero-subtitle span { color: var(--orange); }

.hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  opacity: .9;
  margin-bottom: 2.5rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-btns {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.hero-caption {
  font-size: .9rem;
  opacity: .65;
  letter-spacing: .04em;
}

/* =========================================
   SECTION ABOUT
   ========================================= */
.section-about {
  padding: 100px 0;
  text-align: center;
}

.three-spheres {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  margin: 3rem 0 2.5rem;
}

.sphere-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 40px;
  flex: 1;
  min-width: 200px;
  max-width: 280px;
  box-shadow: var(--shadow);
  transition: transform .25s;
}
.sphere-card:hover { transform: translateY(-6px); }

.sphere-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: var(--teal);
  color: var(--beige);
  font-size: 1.6rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}
.sphere-family { background: var(--orange); }
.sphere-biz    { background: var(--teal-light); }

.sphere-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--teal);
}
.sphere-card p { font-size: .95rem; color: var(--text-muted); }

.sphere-divider {
  font-size: 2rem;
  font-weight: 700;
  color: var(--orange);
  padding: 0 16px;
  flex-shrink: 0;
}

.section-idea {
  font-size: 1.15rem;
  color: var(--teal);
  font-weight: 500;
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================
   FOR WHOM
   ========================================= */
.section-for-whom { padding: 100px 0; }
.section-for-whom .section-title { color: var(--beige); }

.for-whom-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  margin-top: 2.5rem;
}

.for-whom-col h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--orange);
  margin-bottom: 1rem;
}

.check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .97rem;
  opacity: .9;
}

.check-list li::before {
  content: '✓';
  color: var(--orange);
  font-weight: 700;
  font-size: 1rem;
  margin-top: 1px;
  flex-shrink: 0;
}

@media (max-width: 700px) {
  .for-whom-grid { grid-template-columns: 1fr; }
}

/* =========================================
   FORMATS
   ========================================= */
.section-formats { padding: 100px 0; text-align: center; }

.formats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
  margin-top: 3rem;
}

.format-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  text-align: left;
  box-shadow: var(--shadow);
  border-top: 3px solid transparent;
  transition: transform .25s, border-color .25s;
}
.format-card:hover {
  transform: translateY(-5px);
  border-color: var(--orange);
}

.format-icon {
  width: 52px; height: 52px;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal-light) 100%);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  color: var(--beige);
  font-size: 1.3rem;
}

.format-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 6px;
}

.format-tag {
  font-size: .8rem;
  font-weight: 600;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}

.format-card p:not(.format-tag) {
  font-size: .9rem;
  color: var(--text-muted);
  line-height: 1.55;
}

/* =========================================
   WHY
   ========================================= */
.section-why { padding: 100px 0; text-align: center; }
.section-why .section-title { color: var(--beige); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
  margin: 3rem 0 2.5rem;
}

.why-item {
  display: flex;
  align-items: center;
  gap: 14px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: var(--radius);
  padding: 18px 20px;
  text-align: left;
  font-size: .97rem;
  color: var(--beige);
  transition: background .25s;
}
.why-item:hover { background: rgba(255,255,255,.12); }

.why-item i {
  color: var(--orange);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.why-conclusion {
  font-size: 1.1rem;
  opacity: .85;
  max-width: 600px;
  margin: 0 auto;
}

/* =========================================
   FOUNDER
   ========================================= */
.section-founder { padding: 100px 0; }

.founder-layout {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 60px;
  align-items: center;
}

.founder-text h2 { margin-bottom: 1.2rem; }
.founder-text p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 1.1rem;
  line-height: 1.7;
}

.founder-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 2rem;
}

.founder-logo-block {
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Фото Ильяса в блоке Основатель */
.founder-photo {
  width: 300px;
  height: 400px;
  object-fit: cover;
  object-position: center top;
  border-radius: 20px;
  box-shadow: 0 16px 48px rgba(13,61,71,.22);
}

.founder-logo-img {
  width: 280px;
  border-radius: var(--radius);
  opacity: .92;
}

@media (max-width: 768px) {
  .founder-layout {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .founder-btns { justify-content: center; }
  .founder-logo-block { order: -1; }
  .founder-photo { width: 240px; height: 320px; }
}

/* =========================================
   JOIN
   ========================================= */
.section-join { padding: 100px 0; text-align: center; }
.section-join .section-title { color: var(--beige); }

.steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin: 3rem 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  max-width: 140px;
  text-align: center;
}

.step-num {
  width: 52px; height: 52px;
  background: var(--orange);
  color: var(--white);
  font-size: 1.25rem;
  font-weight: 800;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.step p {
  font-size: .88rem;
  color: var(--beige);
  opacity: .85;
  line-height: 1.4;
}

.step-arrow {
  color: rgba(255,255,255,.3);
  font-size: .85rem;
  margin-top: 16px;
  flex-shrink: 0;
}

.join-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.join-footnote {
  font-size: .9rem;
  opacity: .6;
}

@media (max-width: 600px) {
  .steps { flex-direction: column; align-items: center; }
  .step-arrow { transform: rotate(90deg); margin: 0; }
  .step { max-width: 260px; }
}

/* =========================================
   PRICE
   ========================================= */
.section-price { padding: 100px 0; text-align: center; }

.price-card {
  background: var(--white);
  border-radius: 20px;
  padding: 56px 48px;
  max-width: 580px;
  margin: 2.5rem auto 0;
  box-shadow: 0 8px 40px rgba(13,61,71,.14);
  border: 2px solid rgba(13,61,71,.08);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.price-main {
  display: flex;
  align-items: baseline;
  gap: 10px;
}

.price-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--teal);
}

.price-period {
  font-size: 1.1rem;
  color: var(--text-muted);
}

.price-desc {
  font-size: .98rem;
  color: var(--text-muted);
  line-height: 1.65;
  text-align: center;
}

.price-note {
  font-size: .85rem;
  color: var(--text-muted);
  opacity: .7;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,.07);
  padding-top: 16px;
  width: 100%;
}

@media (max-width: 600px) {
  .price-card { padding: 40px 28px; }
}

/* =========================================
   SOCIAL
   ========================================= */
.section-social { padding: 100px 0; text-align: center; }
.section-social .section-title { color: var(--beige); }

.social-cards {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
}

.social-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding: 32px 36px;
  color: var(--white);
  transition: background .25s, transform .2s;
  min-width: 200px;
}
.social-card:hover {
  background: rgba(255,255,255,.14);
  transform: translateY(-4px);
}

.social-card i { font-size: 2.2rem; color: var(--beige); }
.social-card-wa i { color: #25D366; }

.social-name {
  font-size: .97rem;
  font-weight: 700;
  color: var(--white);
}

.social-desc {
  font-size: .82rem;
  opacity: .6;
}

/* =========================================
   FINAL CTA
   ========================================= */
.section-final-cta {
  padding: 120px 0;
  text-align: center;
  background: linear-gradient(135deg, var(--teal) 0%, #0a2d35 100%);
}

.final-cta-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--beige);
  max-width: 720px;
  margin: 0 auto 1.5rem;
  line-height: 1.25;
}

.final-cta-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,.7);
  max-width: 520px;
  margin: 0 auto 2.5rem;
  line-height: 1.6;
}

/* =========================================
   FOOTER
   ========================================= */
.footer {
  background: #071e23;
  padding: 48px 0 32px;
  color: rgba(255,255,255,.5);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  text-align: center;
}

.footer-logo { display: flex; align-items: center; }

.footer-logo-img {
  height: 36px;
  width: auto;
  opacity: .85;
}
.footer-logo-img-mobile {
  height: 36px;
  width: auto;
  opacity: .85;
  display: none;
}

@media (max-width: 600px) {
  .footer-logo-img        { display: none; }
  .footer-logo-img-mobile { display: block; }
}

.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-links a {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.5);
  font-size: .9rem;
  transition: color .2s;
}
.footer-links a:hover { color: var(--beige); }
.footer-links a i { font-size: 1rem; }

.footer-copy {
  font-size: .82rem;
  opacity: .45;
}

/* =========================================
   FLOATING WA BUTTON
   ========================================= */
.float-wa {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 58px;
  height: 58px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 6px 20px rgba(37,211,102,.4);
  transition: transform .2s, box-shadow .2s;
}
.float-wa:hover {
  transform: scale(1.1);
  box-shadow: 0 8px 28px rgba(37,211,102,.55);
}

/* =========================================
   ANIMATIONS
   ========================================= */
[data-aos] {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .6s ease, transform .6s ease;
}

[data-aos].aos-animated {
  opacity: 1;
  transform: none;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 768px) {
  .section-about,
  .section-for-whom,
  .section-formats,
  .section-why,
  .section-founder,
  .section-join,
  .section-price,
  .section-social,
  .section-final-cta { padding: 72px 0; }

  .three-spheres { gap: 16px; }
  .sphere-divider { display: none; }

  .formats-grid { grid-template-columns: 1fr 1fr; }
  .why-grid     { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .formats-grid { grid-template-columns: 1fr; }
  .hero-btns    { flex-direction: column; align-items: stretch; }
  .hero-btns a  { text-align: center; }
  .price-card   { padding: 36px 20px; }
}
