:root{
  --bg:#f6f9f8;
  --surface:#ffffff;
  --surface-soft:#eef5f2;
  --ink:#10211d;
  --muted:#61716c;
  --line:#dce8e4;
  --brand:#153f36;
  --brand-2:#1f6656;
  --brand-soft:#dff0ea;
  --accent:#d9aa55;
  --shadow:0 24px 60px rgba(20,63,54,.10);
  --radius:26px;
  --max:1240px;
}

*{
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  margin:0;
  direction:rtl;
  background:var(--bg);
  color:var(--ink);
  font-family:
    Vazirmatn,
    IRANSans,
    Tahoma,
    Arial,
    sans-serif;
  line-height:1.9;
}

a{
  color:inherit;
  text-decoration:none;
}

img{
  max-width:100%;
  display:block;
}

button,
input,
textarea{
  font:inherit;
}

.container{
  width:min(calc(100% - 36px),var(--max));
  margin-inline:auto;
}

/* HEADER */

.site-header{
  position:sticky;
  top:0;
  z-index:100;
  background:rgba(246,249,248,.90);
  border-bottom:1px solid rgba(220,232,228,.8);
  backdrop-filter:blur(18px);
}

.navbar{
  min-height:78px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:22px;
}

.brand{
  display:flex;
  align-items:center;
  gap:13px;
  min-width:max-content;
}

.brand-mark{
  width:44px;
  height:44px;
  display:grid;
  place-items:center;
  border-radius:14px;
  background:var(--brand);
  color:white;
  font-weight:900;
  font-family:Georgia,serif;
  font-size:22px;
}

.brand-text strong{
  display:block;
  letter-spacing:4px;
  font-family:Georgia,serif;
  font-size:17px;
}

.brand-text span{
  display:block;
  margin-top:-4px;
  color:var(--muted);
  font-size:11px;
}

.main-nav{
  display:flex;
  align-items:center;
  gap:26px;
  color:#385049;
  font-size:14px;
  font-weight:700;
}

.main-nav a{
  position:relative;
}

.main-nav a::after{
  content:"";
  position:absolute;
  right:0;
  bottom:-8px;
  width:0;
  height:2px;
  background:var(--brand-2);
  transition:.2s ease;
}

.main-nav a:hover::after{
  width:100%;
}

.header-actions{
  display:flex;
  align-items:center;
  gap:10px;
}

.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:48px;
  padding:10px 20px;
  border:1px solid transparent;
  border-radius:14px;
  cursor:pointer;
  font-weight:800;
  transition:
    transform .2s ease,
    box-shadow .2s ease,
    background .2s ease;
}

.btn:hover{
  transform:translateY(-2px);
}

.btn-primary{
  background:var(--brand);
  color:#fff;
  box-shadow:0 12px 28px rgba(21,63,54,.18);
}

.btn-secondary{
  background:#fff;
  border-color:var(--line);
  color:var(--brand);
}

.btn-soft{
  background:var(--brand-soft);
  color:var(--brand);
}

.mobile-menu{
  display:none;
  width:44px;
  height:44px;
  border:1px solid var(--line);
  border-radius:13px;
  background:#fff;
  font-size:20px;
}

/* HERO */

.hero{
  position:relative;
  overflow:hidden;
  padding:90px 0 72px;
}

.hero::before{
  content:"";
  position:absolute;
  width:550px;
  height:550px;
  border-radius:50%;
  background:
    radial-gradient(
      circle,
      rgba(31,102,86,.15),
      rgba(31,102,86,0) 68%
    );
  left:-180px;
  top:-210px;
  pointer-events:none;
}

.hero-grid{
  display:grid;
  grid-template-columns:1.12fr .88fr;
  align-items:center;
  gap:72px;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  min-height:34px;
  padding:5px 12px;
  border-radius:999px;
  background:var(--brand-soft);
  color:var(--brand);
  font-size:12px;
  font-weight:900;
}

.eyebrow::before{
  content:"";
  width:7px;
  height:7px;
  border-radius:50%;
  background:var(--brand-2);
}

.hero h1{
  margin:20px 0 12px;
  max-width:820px;
  font-size:clamp(39px,5.5vw,72px);
  line-height:1.32;
  letter-spacing:-2px;
}

.hero h1 span{
  color:var(--brand-2);
}

.hero-lead{
  max-width:720px;
  margin:0;
  color:var(--muted);
  font-size:18px;
}

.hero-person{
  margin-top:27px;
  display:flex;
  align-items:center;
  gap:12px;
  color:#334a43;
  font-size:14px;
}

.person-dot{
  width:38px;
  height:38px;
  display:grid;
  place-items:center;
  border-radius:12px;
  background:var(--brand);
  color:#fff;
  font-weight:900;
}

.hero-actions{
  display:flex;
  flex-wrap:wrap;
  gap:12px;
  margin-top:32px;
}

.hero-note{
  margin-top:17px;
  color:#7b8884;
  font-size:12px;
}

/* HERO VISUAL */

.ecosystem-card{
  position:relative;
  min-height:510px;
  padding:26px;
  border:1px solid var(--line);
  border-radius:34px;
  background:
    linear-gradient(
      145deg,
      #fff 0%,
      #edf5f2 100%
    );
  box-shadow:var(--shadow);
  overflow:hidden;
}

.ecosystem-card::before{
  content:"P";
  position:absolute;
  left:-10px;
  bottom:-115px;
  font-family:Georgia,serif;
  font-size:380px;
  font-weight:900;
  color:rgba(21,63,54,.04);
}

.eco-title{
  position:relative;
  z-index:2;
}

.eco-title small{
  display:block;
  color:var(--muted);
  font-size:11px;
}

.eco-title strong{
  font-family:Georgia,serif;
  letter-spacing:5px;
  font-size:27px;
}

.module-stack{
  position:relative;
  z-index:3;
  display:grid;
  gap:13px;
  margin-top:31px;
}

.mini-module{
  display:grid;
  grid-template-columns:52px 1fr auto;
  align-items:center;
  gap:13px;
  min-height:82px;
  padding:12px 14px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(220,232,228,.96);
  border-radius:19px;
}

.module-icon{
  width:52px;
  height:52px;
  display:grid;
  place-items:center;
  border-radius:15px;
  background:var(--surface-soft);
  color:var(--brand);
  font-weight:900;
  font-size:18px;
}

.module-copy strong{
  display:block;
  font-size:14px;
}

.module-copy span{
  color:var(--muted);
  font-size:11px;
}

.status{
  padding:5px 10px;
  border-radius:999px;
  font-size:10px;
  font-weight:900;
  white-space:nowrap;
}

.status-live{
  background:#dff3e8;
  color:#22704f;
}

.status-build{
  background:#fff2d9;
  color:#8a611e;
}

.status-future{
  background:#eceff1;
  color:#617078;
}

/* SECTIONS */

.section{
  padding:88px 0;
}

.section-white{
  background:#fff;
}

.section-dark{
  background:var(--brand);
  color:#fff;
}

.section-head{
  display:flex;
  align-items:end;
  justify-content:space-between;
  gap:30px;
  margin-bottom:36px;
}

.section-head h2{
  margin:10px 0 0;
  font-size:clamp(28px,4vw,45px);
  line-height:1.4;
}

.section-head p{
  max-width:620px;
  margin:0;
  color:var(--muted);
}

.section-dark .section-head p{
  color:#c5d6d0;
}

.kicker{
  color:var(--brand-2);
  font-size:12px;
  font-weight:900;
  letter-spacing:.4px;
}

.section-dark .kicker{
  color:#a9d4c6;
}

/* ABOUT */

.about-grid{
  display:grid;
  grid-template-columns:.82fr 1.18fr;
  gap:54px;
  align-items:stretch;
}

.profile-placeholder{
  min-height:470px;
  position:relative;
  display:flex;
  align-items:flex-end;
  padding:28px;
  border-radius:30px;
  background:
    linear-gradient(
      145deg,
      #173f37,
      #236452
    );
  overflow:hidden;
  color:#fff;
}

.profile-placeholder::before{
  content:"SG";
  position:absolute;
  top:20px;
  left:30px;
  color:rgba(255,255,255,.10);
  font-family:Georgia,serif;
  font-size:150px;
  font-weight:900;
}

.profile-placeholder strong{
  position:relative;
  z-index:2;
  display:block;
  font-size:24px;
}

.profile-placeholder span{
  position:relative;
  z-index:2;
  display:block;
  margin-top:5px;
  color:#c5ded6;
  font-size:13px;
}

.about-content{
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.about-content h2{
  margin:10px 0 17px;
  font-size:38px;
}

.about-content p{
  color:var(--muted);
}

.expertise-list{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:12px;
  margin-top:22px;
}

.expertise-item{
  padding:15px 17px;
  border:1px solid var(--line);
  border-radius:16px;
  background:#fff;
  font-size:13px;
  font-weight:800;
}

/* AREAS */

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

.area-card{
  min-height:210px;
  padding:24px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  transition:.22s ease;
}

.area-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 45px rgba(21,63,54,.08);
}

.area-number{
  color:#9ab0a8;
  font-family:Georgia,serif;
  font-size:13px;
}

.area-card h3{
  margin:28px 0 8px;
  font-size:19px;
}

.area-card p{
  margin:0;
  color:var(--muted);
  font-size:13px;
}

/* MODULES */

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

.module-card{
  min-height:300px;
  display:flex;
  flex-direction:column;
  padding:27px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:26px;
  background:rgba(255,255,255,.07);
}

.module-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:15px;
}

.big-module-icon{
  width:60px;
  height:60px;
  display:grid;
  place-items:center;
  border-radius:18px;
  background:rgba(255,255,255,.10);
  font-weight:900;
  font-size:19px;
}

.module-card h3{
  margin:26px 0 8px;
  font-size:25px;
}

.module-card p{
  margin:0;
  color:#c8d9d3;
  font-size:13px;
}

.module-card .module-action{
  margin-top:auto;
  padding-top:26px;
}

/* BOOKS */

.books-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  gap:15px;
}

.book-card{
  overflow:hidden;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
  transition:.22s ease;
}

.book-card:hover{
  transform:translateY(-5px);
  box-shadow:0 18px 40px rgba(21,63,54,.10);
}

.book-cover{
  aspect-ratio:3/4;
  padding:10px;
  background:#edf3f1;
}

.book-cover img{
  width:100%;
  height:100%;
  object-fit:cover;
  border-radius:13px;
}

.book-info{
  padding:16px;
}

.book-info small{
  color:var(--brand-2);
  font-weight:900;
}

.book-info h3{
  margin:5px 0 4px;
  font-size:14px;
  line-height:1.7;
}

.book-info p{
  margin:0;
  color:var(--muted);
  font-size:11px;
}

/* CONTENT */

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

.content-card{
  min-height:240px;
  display:flex;
  flex-direction:column;
  padding:24px;
  border:1px solid var(--line);
  border-radius:22px;
  background:#fff;
}

.content-card span{
  color:var(--brand-2);
  font-size:11px;
  font-weight:900;
}

.content-card h3{
  margin:22px 0 8px;
  font-size:20px;
}

.content-card p{
  color:var(--muted);
  font-size:13px;
}

.content-card a{
  margin-top:auto;
  color:var(--brand);
  font-size:13px;
  font-weight:900;
}

/* CTA */

.final-cta{
  padding:74px 0;
}

.cta-box{
  padding:46px;
  border-radius:30px;
  background:
    linear-gradient(
      135deg,
      #163f36,
      #245f51
    );
  color:#fff;
}

.cta-box h2{
  max-width:720px;
  margin:0;
  font-size:clamp(30px,4.5vw,48px);
}

.cta-box p{
  max-width:700px;
  margin:14px 0 0;
  color:#c9ddd6;
}

.cta-actions{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  margin-top:28px;
}

.cta-box .btn-secondary{
  background:rgba(255,255,255,.10);
  color:#fff;
  border-color:rgba(255,255,255,.20);
}

/* FOOTER */

.site-footer{
  padding:46px 0 30px;
  border-top:1px solid var(--line);
  background:#fff;
}

.footer-grid{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr;
  gap:40px;
}

.footer-brand p{
  max-width:450px;
  color:var(--muted);
  font-size:13px;
}

.footer-title{
  margin-bottom:12px;
  font-weight:900;
}

.footer-links{
  display:grid;
  gap:7px;
  color:var(--muted);
  font-size:13px;
}

.footer-bottom{
  margin-top:36px;
  padding-top:20px;
  border-top:1px solid var(--line);
  display:flex;
  justify-content:space-between;
  gap:20px;
  color:#81908b;
  font-size:11px;
}

/* ANIMATION */

.reveal{
  opacity:0;
  transform:translateY(20px);
  transition:
    opacity .65s ease,
    transform .65s ease;
}

.reveal.visible{
  opacity:1;
  transform:none;
}

/* RESPONSIVE */

@media(max-width:1050px){

  .main-nav{
    display:none;
  }

  .mobile-menu{
    display:block;
  }

  .hero-grid{
    grid-template-columns:1fr;
  }

  .ecosystem-card{
    min-height:auto;
  }

  .books-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .area-grid{
    grid-template-columns:repeat(2,1fr);
  }
}

@media(max-width:760px){

  .section{
    padding:64px 0;
  }

  .hero{
    padding:58px 0;
  }

  .hero h1{
    letter-spacing:-1px;
  }

  .header-actions .btn-secondary{
    display:none;
  }

  .about-grid{
    grid-template-columns:1fr;
  }

  .profile-placeholder{
    min-height:330px;
  }

  .modules-grid,
  .content-grid{
    grid-template-columns:1fr;
  }

  .books-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .area-grid{
    grid-template-columns:1fr;
  }

  .expertise-list{
    grid-template-columns:1fr;
  }

  .section-head{
    display:block;
  }

  .section-head p{
    margin-top:10px;
  }

  .footer-grid{
    grid-template-columns:1fr;
  }

  .footer-bottom{
    display:block;
  }

  .cta-box{
    padding:30px 22px;
  }

}

@media(max-width:460px){

  .brand-text span{
    display:none;
  }

  .brand-text strong{
    font-size:14px;
  }

  .books-grid{
    grid-template-columns:1fr;
  }

  .hero-actions .btn{
    width:100%;
  }
}


/* =========================================================
   PAIDIA PERSONAL PROFILE PHOTO
   ========================================================= */

.profile-photo{
  position:relative;
  min-height:500px;
  overflow:hidden;
  border-radius:30px;
  background:#e6efec;
  box-shadow:
    0 26px 65px rgba(21,63,54,.14);
}

.profile-photo img{
  width:100%;
  height:100%;
  min-height:500px;
  position:absolute;
  inset:0;
  object-fit:cover;
  object-position:center 23%;
}

.profile-photo::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      180deg,
      rgba(8,30,25,0) 50%,
      rgba(8,30,25,.78) 100%
    );
  pointer-events:none;
}

.profile-photo-caption{
  position:absolute;
  z-index:2;
  right:26px;
  left:26px;
  bottom:25px;
  color:#fff;
}

.profile-photo-caption strong{
  display:block;
  font-family:var(--font-title, "B Titr", Tahoma, sans-serif);
  font-size:25px;
  line-height:1.6;
}

.profile-photo-caption span{
  display:block;
  margin-top:2px;
  font-family:var(--font-reading, "B Nazanin", serif);
  color:#d8e7e2;
  font-size:17px;
}


@media(max-width:760px){

  .profile-photo,
  .profile-photo img{
    min-height:420px;
  }

}

